Fixed a crash while rendering plain text when sending e-mails