fix for mail send