added synchronous methods for sending email
Merge remote-tracking branch 'origin/master'