Updated mailsending functionality
Merge branch 'development' of https://github.com/Tel-Ran/MAT_BES1 into development