fix plain text email output