Fix issue with job name being truncated to 24 chars when sending a mail
message.