title: Configuring a 3rd party email account in Android programmatically
body: <p>Is it possible to configure a 3rd party email account in Android programmatically. 
  Is there any API for this?</p>
  
  <p>Basically I am trying to create an app that would:</p>
  
  <ol>
  <li>ask the user for email address and password</li>
  <li>Verify the credentials. If everything is fine, the email account is automatically configured with the incoming and outgoing mail server details</li>
  </ol>
  
  <p>The issue is that users don't find it easy remembering the server details etc.And our aim is to help our users set up their email accounts on their devices</p>