No - you can't do that with an IMAP request, if you look at my other post you'll notice something using parseaddr
, but here it is again with your example:
>>> from email.utils import parseaddr
>>> a = 'From: First Last <first.last@domain.com>'
>>> parseaddr(a)
('First Last', 'first.last@domain.com')