title: Android: How to get the configured email account address programmatically
body: <p>I used the below code to get the configured account name </p>
  
  <pre><code>Account[] accounts = AccountManager.get(this).getAccounts();
          for (Account account : accounts) {
  
          Log.d("Account", "Name " + account.name);
  
          }
  </code></pre>
  
  <p>But i need the <strong>email id</strong> of the configured <strong>Microsoft Exchange account</strong> as we can change the name of the account (it is not need to be unique). </p>
  
  <p>Thanks in Advance</p>