action mailer sending activation needed and success emails. db migrated to postgreSQL