ActionMailer 501: sender address must contain a domain

There's your problem. That needs to be an email address.