Fix rendering of git export in mails

Closes #519

Signed-off-by: Michal Čihař <michal@cihar.com>