Update logging to log any rejected emails regardless of whether the email was sent or not