fixes actionmailer deprecation #280