in reply to Structured headers of RFC 2822

Check out Email::Address.