sending mail now works