# Query Email Accounts `` is a React component used in managing network requests for all Email Accounts across providers for a site. ## Usage Render the component, passing in the properties below. It does not accept any children, nor does it render any elements to the page. ```jsx import QueryEmailAccounts from 'calypso/components/data/query-email-accounts'; export default function listEmailAccounts( { emailAccounts } ) { return (
{ emailAccounts.map( ( emailAccount ) => (
  • { `${ emailAccount.mailbox }@${ emailAccount.domain }` }
  • ) ) }
    ); } ``` ## Props ### `siteId`
    TypeNumber
    RequiredYes
    The ID of the site to fetch the email accounts users for.