I'm trying to retrieve new mails from sent mail folder of Gmail using IMAP, but in the sent folder every messages are has the \Seen flag set. So I cannot retrieve the latest messages in the folder.
imap_conn.select("[Gmail]/Sent Mail")
typ, data = imap_conn.search(None,since_date,'UnSeen')
Do anyone have idea for how to retrieve the new mails from sent folder?