Get a header value. Like __getitem__() but return failobj instead of None when the field is missing.
email.message/EmailMessage.get
EmailMessage.get