Added db support to SendMail
Added db support to SendMail
Fixed email check support for gmail