update mailer delivery for rails 3.2