add authentication in send mail functions
Merge pull request #16 from poupotte/master

Add authentication in send mail functions