Parse Gmail with Python and mark all older than date as “read”

后端 未结 4 769
被撕碎了的回忆
被撕碎了的回忆 2020-12-28 10:45

Long story short, I created a new gmail account, and linked several other accounts to it (each with 1000s of messages), which I am importing. All imported messages arrive as

4条回答
  •  遥遥无期
    2020-12-28 11:50

    Rather than try to parse our HTML why not just use the IMAP interface? Hook it up to a standard mail client and then just sort by date and mark whichever ones you want as read.

提交回复
热议问题