This function returns the disk space that the main account uses.
Important:
When you disable the Receive Mail role, the system disables this function.
uapi --output=jsonpretty \ --user=username \ Email \ get_main_account_disk_usage
{- "apiversion": 3,
- "func": "get_main_account_disk_usage",
- "module": "Email",
- "result": {
- "data": "3076 bytes",
- "errors": null,
- "messages": null,
- "metadata": { },
- "status": 1,
- "warnings": null
}
}