Added additional logging around the email-prefs form

 to try to understand why it is sometimes rendered with all fields empty.