Put email send in try/except