Parse an IMAP4 INTERNALDATE string. Return corresponding local time. The return value is a time.struct_time tuple or None if the string has wrong format.
imaplib/Internaldate2tuple
Internaldate2tuple