#92 Add handling of errors when sending mail