Better handling of empty/incomplete address fields

This will fix the notices when one of the addresses have no host or mailbox information (for example, when we have a "undisclosed-recipients" address).