I think this doesn't handle the case where there is a space between the name and the email address inside the <> which is allowed by the RFC.