Include message generation on try/catch block so that the email fallback can still work in case there is a problem there