Added ActionMailer and email verification logic