开发者

Export mail from Gmail

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 work anymore — I can't even log in with them. I assume 开发者_如何学Goit's because there's been some changes in Gmail. Is there still any way to do this?


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.


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

上一篇:

下一篇:

精彩评论

暂无评论...
验证码 换一张
取 消

最新问答

问答排行榜