Fix failure deliver email error