Fixed invisible error message
Added skip errors option to sendMail function