ElasticMARC icon indicating copy to clipboard operation
ElasticMARC copied to clipboard

Using category tags instead of (un)read marks and moving emails around

Open joaociocca opened this issue 6 years ago • 4 comments

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!

joaociocca avatar Dec 13 '19 05:12 joaociocca

Define untreated e-mails, I'm not sure what you mean by this.

Grunticus03 avatar Dec 16 '19 16:12 Grunticus03

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?

joaociocca avatar Dec 16 '19 17:12 joaociocca

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.

Grunticus03 avatar Dec 17 '19 16:12 Grunticus03

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!

joaociocca avatar Dec 18 '19 02:12 joaociocca