fix actionmailer config and devise link