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

How to mark as SPAM? #37

Open
dicarsio opened this issue Dec 23, 2023 · 1 comment
Open

How to mark as SPAM? #37

dicarsio opened this issue Dec 23, 2023 · 1 comment

Comments

@dicarsio
Copy link

Hi,

Great work with this app.

I was trying to mark something as SPAM, but adding label SPAM does not work and marking not_spam: false also doesn't. Am I missing something or it is not available yet?

Thanks,

C.

@jretz
Copy link

jretz commented Dec 23, 2023

I don't believe Gmail filters themselves, which are what this tool generates, offer the functionality you want. At the very least, Google doesn't provide a UI for it. If you manually set up a filter in the Gmail web interface, you'll see that there is a checkbox called "Never send it to Spam" but nothing that says anything like "Always send it to Spam".

Setting not_spam: true will tick that checkbox. I believe setting not_spam: false, or just not specifying not_spam at all, indicates that you do not want to tick the "Never send it to Spam" checkbox. Google needs to provide an "Always send it to Spam" filter action before this tool can support it.

For email I never want to see, I use trash: true. That doesn't have the benefit of training the spam filter, but it does get all matching emails out of my way.

If you really want the spam filter training benefit, the easiest thing I can think of:

  1. create a label (e.g., to_be_marked_as_spam)
  2. create a filter that sends messages there
  3. occasionally go into the label, select everything, and mark as spam

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

No branches or pull requests

2 participants