Skip to content
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

Add metrics about attachments and email storage size #213

Open
devmount opened this issue Jan 13, 2021 · 5 comments
Open

Add metrics about attachments and email storage size #213

devmount opened this issue Jan 13, 2021 · 5 comments
Assignees
Labels
feature Brand new functionality

Comments

@devmount
Copy link
Owner

devmount commented Jan 13, 2021

Is your feature request related to a problem? Please describe.
@drfedtke stated in #182, that it would be nice to have additional metrics about attachments and the storage size of emails.

Describe the solution you'd like
There are several possibilities. Most obvious would be the total number of emails with attachments or the total size. Also possible is the average number of files attached or the average size of an attachment.

Describe alternatives you've considered
In fact, every existing chart in ThirdStats is currently based on mail count, but it could also just be based on mail size. So in theory, there could be a switch on top where the user can toggle between showing stats based on mail counts or based on mail size.

Additional context
#182

@devmount devmount added discussion Further conversation required to figure out the action steps feature Brand new functionality labels Jan 13, 2021
@devmount
Copy link
Owner Author

Thunderbirds WebExtension APIs currently don't provide a corresponding attribute to retrieve information about attachments, so for now this will be on hold. In the meantime I encourage you to discuss the proposed metrics about attachments.

@devmount devmount added the on hold This cannot be worked on label Jan 28, 2021
@devmount devmount changed the title Add metrics about attachments Add metrics about attachments and email storage size Mar 10, 2021
@devmount
Copy link
Owner Author

Thunderbirds WebExtension APIs currently don't provide a corresponding attribute to retrieve information about attachments

Correction: it doesn't exist in the message header, which ThirdStats only processes. It does exist in the messages body, but I avoid accessing that for privacy and performance reasons.

See this discussion thread.

@devmount devmount removed the on hold This cannot be worked on label Aug 16, 2021
@devmount devmount self-assigned this Aug 16, 2021
@devmount devmount added this to the v1.9.0 milestone Aug 16, 2021
@devmount
Copy link
Owner Author

devmount commented Sep 12, 2021

The size attribute is now implemented in messages headers since TB 90
https://webextension-api.thunderbird.net/en/latest/messages.html#messages-messageheader

@devmount devmount removed the discussion Further conversation required to figure out the action steps label Sep 12, 2021
@devmount devmount modified the milestones: v1.9.0, v1.10.0 Sep 5, 2022
@devmount devmount removed this from the v1.10.0 milestone Mar 27, 2023
@graytape
Copy link

Is there any update?
I just installed the night build, but it doesn't seem to show anything like that yet

@devmount
Copy link
Owner Author

Not yet. Adding new metrics depends on some deeper UI changes to keep things clean and organized. Feel free to take part in the discussion: #376

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
feature Brand new functionality
Projects
None yet
Development

No branches or pull requests

2 participants