callback for mail sent