Sending mail
now works with surveys
Working version wednesday