Bugfix for email settings. See Issue 251.