This script will be run after sending the email to allow acting upon the send result. The MimeMessage variable is msg, the SMTPTransport transport, the session properties props, the build is also available as build and a logger is available as logger.