log mailing initiation.
add header to mail messages
removed empty characters from the end of defaultMessage