0

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?

Rubén
  • 34,714
  • 9
  • 70
  • 166
Avi
  • 368
  • 2
  • 13

1 Answers1

0

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.

Max
  • 10,701
  • 2
  • 24
  • 48