Using category tags instead of (un)read marks and moving emails around
hey @wwalker0307! I'm finishing up implementing your awesome solution, and I thought about another process we have around here - the guy who created it came up with using untagged to identify untreated e-mails, and then tagging them when they are done with.
Thought I'd first try out and talk about it, instead of just slamming a PR. What're your thoughts on it? I just finished editing dmarcscript.ps1 and DmarcUnattended.ps1 on my fork, if you want to take a look!
Define untreated e-mails, I'm not sure what you mean by this.
it would be the equivalent of unread emails, considering your original process. Where you list unread, I list uncategorized. Where you mark them as read and move to another folder on completion, I thought it best to also tag them with a category but leave on the same folder. But now that I'm on vacation, it occurs to me that maybe moving them would be best for archiving purposes?
The original intent was to get it out of the mailbox that is being queried for messages so it's not processed on the next run.
I'm not opposed to adding commented commands that a user can uncomment to allow message tagging and/or categorization.
Its been quite awhile since I looked at that script, a second take and some refactoring might do it some good.
I do understand where you're coming from. My scenario consists of a mailbox that's not exclusive for DMARC messages and there already a rule in place to move them to another folder. But I liked that idea of adding as an option! I imagine there's no rush, so when I come back from vacation I'll see to changing it to being an option, and make the PR!