added absolute quota values in bytes
This commit is contained in:
parent
ab0d6b1caf
commit
f05cbfec69
@ -150,8 +150,11 @@ def getMailboxInfo(headers, verify, base_url):
|
|||||||
name = data[i].get("name")
|
name = data[i].get("name")
|
||||||
# get number of messages in mailbox
|
# get number of messages in mailbox
|
||||||
num_messages = data[i].get("messages")
|
num_messages = data[i].get("messages")
|
||||||
# get quota used in percent
|
# get quota used in percent (rounded to full percent)
|
||||||
percent_in_use = data[i].get("percent_in_use")
|
percent_in_use = data[i].get("percent_in_use")
|
||||||
|
# get quota and quota used in bytes
|
||||||
|
quota = data[i].get("quota")
|
||||||
|
quota_used = data[i].get("quota_used")
|
||||||
# get creation and last modification date
|
# get creation and last modification date
|
||||||
created = data[i].get("created")
|
created = data[i].get("created")
|
||||||
modified = data[i].get("modified")
|
modified = data[i].get("modified")
|
||||||
|
Loading…
Reference in New Issue
Block a user