you need to sign the agent with the id of the name you wish to send the emails out using that name
setting a field called Principal as well
I also advise that if you want the user to reply back to the email make sure there is a mail in doc/person doc in your names.nsf to also add a field called ReplyTo which has a valid email address