rails 3.2: update mailers to rails3 api