Skip to content

Improvements to filters to help finding huge emails #28

@Byron

Description

@Byron

When receiving emails with attachments, the mailbox may get bloated.

Especially in conjunction with eventually deleting emails as in #16 , it would be useful to add filters specific to the size of an email.

Possible filters

Items marked with MVP seem desirable to have in the first incarnation.

  • min size in Kb (MVP)
    • a slider to filter emails smaller than the minimum size.
    • Probably '0' as value would mean the filter is disabled, but there might be better ways to indicate this from a UX perspective.
  • attachment
    • a checkbox to require emails to have an attachment
    • file extension multi-selection
      • Lists all actually used extensions and allows to focus on emails which have at least one of them.

Possible GUI Improvements

Extended statistics about displayed emails

Along with knowing how many emails are currently displayed, it would certainly be useful how much storage space they require. Maybe this information could be added to the top of the GUI.

Screen Shot 2022-01-04 at 10 02 22 AM

Real-time updates when changing the filter

This would allow to remove the 'apply' button and would probably make it fun to play with sliders. It might also be an interesting exercise in async programming to make it deal with possibly longer filtering times gracefully. If filtering through 650k emails gets sluggish, one might consider throwing multiple threads into the mix.

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions