Is there a way(Api or anything..pop/imap in python) via which you can get to know the available space on your Gmail account?
可以将文章内容翻译成中文,广告屏蔽插件可能会导致该功能失效(如失效,请关闭广告屏蔽插件后再试):
问题:
回答1:
It appears GMail supports the Quota Extension for IMAP, and at least some information is available that way.
On my account, I get this information:
> a001 GETQUOTA ""
< * QUOTA "" (STORAGE 72600 10601545)
The units are in kilobytes. This means I'm using 72 megs, of a total of 10 gigabytes, which appears to match approximately what gmail.com is saying is the current amount per user.