Skip to content

Email account configuration (Android Enterprise work profile policy)

The Email account configuration lets you add an Exchange Online or Exchange Server email account to the Gmail app in the work profile.


To use the %_USERNAME_% and %_EMAILADDRESS_% placeholders as described below, you must configure the user’s Exchange Login and Email Address settings in Sophos Central Admin. See Users.


A managed configuration of the Gmail app conflicts with the Email account configuration, so it’s not available in recent versions of Sophos Mobile. If you’re using a managed configuration from an earlier version, Gmail will ignore the Email account configuration. This happens even if the managed configuration is blank.

For details on managed configurations, see Managed configuration.

Setting Description
Account name The account name.
Server name

For Exchange Online, enter

For Exchange Server, enter your server URL.

Note that applies to the worldwide Microsoft 365 cloud. If you’re using a different Microsoft 365 cloud, such as Office 365 Germany, see the Microsoft document Office 365 URLs and IP address ranges.

When you use Exchange Server with the Sophos Mobile EAS proxy, enter its URL instead.


The user's sign-in name.

For Exchange Online, this is usually the email address. Enter %_EMAILADDRESS_% to use the email address of the user assigned to the device.

For Exchange Server, enter %_USERNAME_% to use the name of the user assigned to the device.

Email address

The email address of the account.

If you enter the variable %_EMAILADDRESS_%, the server replaces it with the actual email address.


A sender name for this account.

If you enter the variable %_EMAILADDRESS_%, the server replaces it with the actual email address.

Default email signature The default email signature.

The type of authentication that Gmail uses when connecting to Exchange.

  • Modern authentication: Use modern authentication (OAuth 2.0).
  • Basic authentication: Use basic authentication (username and password).
  • Basic and modern authentication: Use modern or basic authentication, depending on which Exchange supports.

To use modern authentication with the Gmail mail app, Google Chrome must be installed in the work profile.

Synchronization period

The time period used for synchronizing emails.

Only the emails from within the specified period are synchronized to the inbox on the managed device.


The connection to the Exchange server is secured by SSL or TLS (depending on what the server supports).

We recommend that you select this check box.

Allow all certificates Allow all certificates in transfer processes from the email server.
Client certificate The client certificate for the connection to the Exchange server.