<wap-provisioningdoc>
<characteristic type="EMAIL">
<characteristic type="{7B3D74EC-35D9-45e3-B8F3-E38F4B90D174}">
<parm name="SERVICENAME" value="yahoo! Mail" />
<parm name="SERVICETYPE" value="IMAP4" />
<parm name="INSERVER" value="imap.mail.yahoo.com" />
<parm name="OUTSERVER" value="smtp.mobile.mail.yahoo.com" />
<parm name="NAME" value="NAME OF ACCOUNT" />
<parm name="AUTHNAME" value="USERNAME" />
<parm name="AUTHSECRET" value="PASSWORD" />
<parm name="DOMAIN" value="" />
<parm name="REPLYADDR" value="youremail@yahoo.com" />
<parm name="LINGER" value="120" />
<parm name="RETRIEVE" value="-1" />
<parm name="KEEPMAX" value="-1" />
<parm name="DWNDAY" value="3" />
<parm name="AUTHREQUIRED" value="1" />
<parm name="SMTPALTENABLED" value="0" />
<parm name="SMTPALTAUTHNAME" value="USERNAME" />
<parm name="SMTPALTPASSWORD" value="PASSWORD" />
<parm name="SMTPALTDOMAIN" value="smtp.mobile.mail.yahoo.com" />
</characteristic>
</characteristic>
</wap-provisioningdoc>
thats the XML i used to auto install my email account after a hard reset. i used sdconfig builder to turn it into a cab after, and just stick it into my xda_uc folder. you can switch it arond for your preferred email service, but im pretty sure you would need this code to do what you need. progress