Export mail from Gmail

后端 未结 2 1348
自闭症患者
自闭症患者 2021-01-12 22:44

At one point it was possible to use scripts like libgmail and gmail.py (can\'t post more than one hyperlink) to export mail from Gmail accounts. Both of those seem to not w

相关标签:
2条回答
  • 2021-01-12 23:25

    As far as I know neither libgmail nor gmail.py are compatible with the current version of Gmail. I use IMAP to download mails from gmail. Python's imaplib module is quite useful for this.

    This answer (disclaimer: my answer) to a related question might give you some clues.

    0 讨论(0)
  • 2021-01-12 23:37

    Gmail supports IMAP and POP, which are common protocols for accessing email. You should be able to use use any working IMAP or POP library for Python to download your email. If you want tag/folder information, you'll need to stick to IMAP.

    0 讨论(0)
提交回复
热议问题