ProtonMail / proton-mail

React web application to manage ProtonMail
https://beta.protonmail.com
GNU General Public License v3.0
175 stars 25 forks source link

Support search for specific header #57

Open exander77 opened 3 years ago

exander77 commented 3 years ago

Search for specific header presence and value should be supported in WebUI, it would be best to do it generally, but the most important are: Subject, From, To (already supported), Cc, Bcc, Message-Id, List-Unsubscribe, X-Pm-Origin etc.

bartbutler commented 3 years ago

message-id is already supported by the server (though probably not in the UI), so that would be possible to add in the advanced search. Generic header search is possible of course but unlikely to happen due to relatively low benefit vs. index size I think.

exander77 commented 3 years ago

@bartbutler It would be nice to support at least what is already indexed for other purposes and support it through search operators: https://github.com/ProtonMail/proton-mail/issues/55

I also made some initial pull request: https://github.com/ProtonMail/proton-mail/pull/56

bartbutler commented 3 years ago

I agree. Using 'in:' to filter by multiple labels/folders should also be supported by the back end.