Minor bug fix when sending plain text email