Skip to main content

Configure Mail Configuration Profile (Android Enterprise)

Mail Configuration allows the administrator to configure or sync the email account settings on the enrolled devices.

note

i. Currently, this feature supports settings configuration for the ActiveSync type.

ii. The Google Play Store should be present in the device. To allow the Google Play Store, follow these steps:

  1. Navigate to SureMDM Web Console > Profiles > Android > Add > Primary Profile > Application Policy > Configure

  2. Check Enable Play Store option.

  3. Save the Profile by giving Profile Name and deploy it to the device.

To create a Mail Configuration profile and deploy it to the devices, follow these steps:

  1. Navigate to SureMDM Web Console > Profiles > Android > Add > Mail Configuration > Configure.
  2. Enter a Profile Name.
  3. Configure the Mail Configuration settings and click Save.
SettingsDescription
Email AddressEnter the email address.
Hostname or HostEnter the name of the email server such as hostname.company.com:443/path.
User NameEnter the username for the email account.
Device IdentifierEnter the device identifier to correlate devices.
Note : This setting is ignored when set to empty.
SSL RequiredSelect Yes or No to allow or deny all communications through the Secure Socket Layer.
Note : This setting is ignored when port 443 is used in Hostname.
Trust all CertificatesSelect Yes or No. Set to Yes to disable validation checks when using self-signed Certificates or for testing purposes only. By default, this value is No: validation checks are performed.
Login Certificate AliasEnter the login certificate alias for a private key certificate stored in the work profile keystore, which will be used for authentication with the servers.
Default Email SignatureEnter the email signature to be displayed on outgoing emails.
Default Sync WindowSelect the period of time (in minutes). This will automatically sync at the specified time. 
note

When the Mail Configuration profile is deployed on multiple devices to configure multiple email accounts, wild card characters can be used to refer to email addresses as “$emailaddress$” and usernames as “$username$”. For the Wild card option to work, the device should be enrolled with OAuth (Google Workspace (formerly G Suite)/ ADFS/ Azure AD)*.

    The newly created profile will be listed in the Profiles section.

  1. Go back to the Home tab and select the Android device(s) or group(s).

  2. Click Apply to launch the Apply Job/Profile To Device prompt.

  3. In the Apply Job/Profile To Device prompt, select the created profile and click Apply.

note

i. Mail Configuration works only for enterprise devices (Work Profile / Fully Managed Device).

ii. For Mail Configuration to work, Gmail should be approved by Google Play for Work.  To know how to approve applications from Google Play for Work, see here.