added email and url validation in UserMailer and also specs for mailer
handled send_mail failure cases with proper 422 response, add test cases for it