improve email formatting