modified the views send mail