Fix for mailer.rb

This is way bigger than it had to be.... :-(