Error handling logic improved in mail send