Android Email app configuration

Configuring an Email app on enrolled Android devices can be done through managed configurations by defining settings that can be remotely applied to the Email app.

You can configure and distribute email app in the same way that you distribute any other Android app. Follow the app distribution work flow at Application management.

If you want to customize the email app or preconfigure it with your organization settings, then you can add Managed configurations to the email app. This allows administrators to push specific configurations to the email app, ensuring that devices are set up with the correct email settings for the user.

To add managed configuration for the email app, enter the configuration as a key-value pair in JSON format. You can find the managed configuration of an Android app with the help of MDM debug tool.

The following is an example of how you can define a JSON configuration for email app settings through managed configurations for Android.

  • Example 1: Managed configuration in JSON format for configuring the Outlook app for Android with corporate mail account:
    { 
            "com.microsoft.outlook.EmailProfile.EmailAddress": "john.doe@hcl.com", 
            "com.microsoft.outlook.EmailProfile.EmailAccountName": "John.Doe", 
            "com.microsoft.outlook.EmailProfile.ServerHostName": "outlook.office365.com", 
            "com.microsoft.outlook.EmailProfile.AccountDomain": "hcl"
            "com.microsoft.outlook.EmailProfile.EmailUPN": "john.doe@hcl.com",
            "com.microsoft.outlook.EmailProfile.AccountType": "SMTP" 
          } 
    } 
  • Example 2: Managed configuration in JSON format for configuring Outlook app for Android with Gmail account:
     {
            "com.microsoft.outlook.EmailProfile.EmailAddress": "john.doe@gmail.com",
            "com.microsoft.outlook.EmailProfile.EmailAccountName": "john.doe",
            "com.microsoft.outlook.EmailProfile.ServerHostName": "smtp.gmail.com",
            "com.microsoft.outlook.EmailProfile.AccountDomain": "gmail",
            "com.microsoft.outlook.EmailProfile.EmailUPN": "MyAccount",
            "com.microsoft.outlook.EmailProfile.AccountType": "SMTP"
          }
Note: If you want to use Gmail as the email app, ensure you also deploy a browser app such as Google Chrome to the work profile for authentication.