Q:

Create a Mail account for the user

is there a way (API) to create and setup a mail account for a user if he provides his login data? Let's Say his account is bla@fake.de and the pw 1234. If I know the provider, can I do the setup for him? Its possible in android, but I doubt it is in iOS due to apple's policy. 
If anyone knows about a way to do this I'd appreciate it if he could direct me to some ressources on how to accomplish this.

A:

There is no public on-device API to achieve this. A possible solution might be to have your server create a configuration profile that you’d deliver over the air. Of course, this approach makes sense only if you have control over the mail service in question.

