How to add an email account to a user via workflow

I'm trying to automate some of the provisioning for our company I've got most of it working but I dont see how to add an email account to a user via work flow like the standard provisioning does 

Parents Reply
  • If you use a Search Activity in your workflow, here's the info on how to grab the users from the result.  The thing to understand is that by using a script with a search activity, the script will run for each object returned.  From the example, you should be able to replace '.distinguishedname' with '.samaccountname' if you feel you need to.  

Children
No Data