Update email class
Remove trailing newlines
Fix error where wrong setting values are displayed for emails
Update account.php