generated actionmailer...this needs more work