MC40 on Jelly Bean - Email configuration

I want to get ideas to the following or proven ways to if anyone has done it:


Create Dynamic email profile for the native Email App on Mc40 i.e. is there any way to configure them through some configuration file which could be send to device and read by app. We have got a scenario where the device move from one user to another. We want to make it dynamic to delete and load new profiles accordingly.


Create a base default profile with the only changes to username and password to dynamically load.




Let me know, it would be great help.