New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
API mailboxes and emails count #454
Comments
Unfortunately, this isn't feasible with the current storage design -- Inbucket has to walk the file tree to discover what mailboxes exist. It could take seconds or even minutes depending on how many mailboxes there are and how fast the disk is. At some point I'd like to add a embedded database or key/value store to enable this and searching, so it may be possible in the long term. |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Please consider to add a new API command to retrieve the list of the current mailboxes, and for each, the number of emails.
The list could be under route
GET
/api/v1/mailbox/
Thanks
The text was updated successfully, but these errors were encountered: