JoinAddress formats a slice of Address structs such that they can be used in a To or Cc header.
ToASCII converts unicode to ASCII by stripping accents and converting some special characters into their ASCII approximations. Anything else will be replaced with an underscore.
UUID generates a random UUID according to RFC 4122.
Wrap builds a byte slice from strs, wrapping on word boundaries before max chars