- msg - the MimeMessage object which can be modified
- logger - a PrintStream and will write to the job's log.
- build - the build this message belongs to (only use with FreeStyle jobs)
- run - the build this message belongs to (may be used with FreeStyle or Pipeline jobs)
- cancel - a boolean, which when set to true will cancel the sending of the email