Update for adding additional debug for the mail send.