fix ampersands incorrectly formatted in emails. fixes #278

fix #287.