[rebased] Rails3 compatibility: rename .rhtml for mail

rebased #269.