Error handling if mail sending fails for any reason