Fix handling of email addresses with quoted domain part (#1490040)