update counter and send mail
Send Email refactored