Question re Gmail Spam Management via Thunderbird

classic Classic list List threaded Threaded
6 messages Options
Reply | Threaded
Open this post in threaded view
|  
Report Content as Inappropriate

Question re Gmail Spam Management via Thunderbird

Disaster Master
Hello,

Before I go open a bug I was wondering if anyone could answer whether
this is even currently possible.

I want to open an enhancement request for Thunderbird to support
managing Gmail Spam directly (marking messages as Spam, or Not Spam, and
updating Gmails internal spam filters accordingly).

I'm not sure, but it appears it may be possible using their mail API for
managing labels, since one of the labels specifically mentioned is their
Spam label:

https://developers.google.com/gmail/api/guides/

Anyone think just changing the label via the API would work the magic?
_______________________________________________
dev-apps-thunderbird mailing list
[hidden email]
https://lists.mozilla.org/listinfo/dev-apps-thunderbird
Reply | Threaded
Open this post in threaded view
|  
Report Content as Inappropriate

Re: Question re Gmail Spam Management via Thunderbird

Disaster Master
On 12/15/2016 9:56 AM, Disaster Master <[hidden email]>
wrote:

> Hello,
>
> Before I go open a bug I was wondering if anyone could answer whether
> this is even currently possible.
>
> I want to open an enhancement request for Thunderbird to support
> managing Gmail Spam directly (marking messages as Spam, or Not Spam,
> and updating Gmails internal spam filters accordingly).
>
> I'm not sure, but it appears it may be possible using their mail API
> for managing labels, since one of the labels specifically mentioned is
> their Spam label:
>
> https://developers.google.com/gmail/api/guides/
>
> Anyone think just changing the label via the API would work the magic?

And just found this that suggests this should work:

"If you move a message into the Spam folder, it is treated the same as
if you had reported it in Gmail webmail using 'Report Spam'. See How do
actions sync in IMAP?
<http://mail.google.com/support/bin/answer.py?answer=77657&topic=12762>
on Gmails web site for more information on how it maps things."

From:
http://kb.mozillazine.org/Using_Gmail_with_Thunderbird_and_Mozilla_Suite

So maybe this is doable (no idea how much work though)...
_______________________________________________
dev-apps-thunderbird mailing list
[hidden email]
https://lists.mozilla.org/listinfo/dev-apps-thunderbird
Reply | Threaded
Open this post in threaded view
|  
Report Content as Inappropriate

Re: Question re Gmail Spam Management via Thunderbird

R Kent James
In reply to this post by Disaster Master
On 12/15/2016 6:56 AM, Disaster Master wrote:

> Hello,
>
> Before I go open a bug I was wondering if anyone could answer whether
> this is even currently possible.
>
> I want to open an enhancement request for Thunderbird to support
> managing Gmail Spam directly (marking messages as Spam, or Not Spam, and
> updating Gmails internal spam filters accordingly).
>
> I'm not sure, but it appears it may be possible using their mail API for
> managing labels, since one of the labels specifically mentioned is their
> Spam label:
>
> https://developers.google.com/gmail/api/guides/
>
> Anyone think just changing the label via the API would work the magic?
>

You are of course welcome to open a bug request, but that is unlikely to
result in anyone actually implementing this. This should be doable in an
addon though, and would be the place to start. I don't really know
enough about Gmail spam marking to know if what we do now in IMAP (which
is to set a SPAM label on servers that support it) is sufficient for
GMail or not.

:rkent
_______________________________________________
dev-apps-thunderbird mailing list
[hidden email]
https://lists.mozilla.org/listinfo/dev-apps-thunderbird
Reply | Threaded
Open this post in threaded view
|  
Report Content as Inappropriate

Re: Question re Gmail Spam Management via Thunderbird

Joshua Cranmer 🐧
In reply to this post by Disaster Master
On 12/15/2016 8:56 AM, Disaster Master wrote:
> Hello,
>
> Before I go open a bug I was wondering if anyone could answer whether
> this is even currently possible.
>
> I want to open an enhancement request for Thunderbird to support
> managing Gmail Spam directly (marking messages as Spam, or Not Spam, and
> updating Gmails internal spam filters accordingly).

My recollection is that gmail takes any move of a message into the
[Gmail]/Spam inbox by an IMAP client as equivalent to marking the
message as spam in the gmail UI. This is already accounted for in the
default autoconfig setup for spam messages, so there is no need to use
their custom API to perform this functionality.

--
Joshua Cranmer
Thunderbird and DXR developer
Source code archæologist

_______________________________________________
dev-apps-thunderbird mailing list
[hidden email]
https://lists.mozilla.org/listinfo/dev-apps-thunderbird
Reply | Threaded
Open this post in threaded view
|  
Report Content as Inappropriate

Re: Question re Gmail Spam Management via Thunderbird

Disaster Master
On 12/15/2016 11:10 PM, Joshua Cranmer 🐧 <[hidden email]> wrote:
> My recollection is that gmail takes any move of a message into the
> [Gmail]/Spam inbox by an IMAP client as equivalent to marking the
> message as spam in the gmail UI. This is already accounted for in the
> default autoconfig setup for spam messages, so there is no need to use
> their custom API to perform this functionality.

Excellent, I didn't know this, thanks Joshua.

Presumably the converse is true? Meaning, if you mark a message as
NotJunk, Gmail will update its filters accordingly after TB modifies the
flag and moves it back into the Inbox?

Is there anywhere in the Gmail interface you can see what is happening
with their filters? Meaning, is there a way to confirm their filters are
being updated? Some kind of logging or something?

Thanks again.
_______________________________________________
dev-apps-thunderbird mailing list
[hidden email]
https://lists.mozilla.org/listinfo/dev-apps-thunderbird
Reply | Threaded
Open this post in threaded view
|  
Report Content as Inappropriate

Re: Question re Gmail Spam Management via Thunderbird

tanstaafl-2
On 12/16/2016 8:47 AM, Disaster Master <[hidden email]>
wrote:

> On 12/15/2016 11:10 PM, Joshua Cranmer 🐧 <[hidden email]> wrote:
>> My recollection is that gmail takes any move of a message into the
>> [Gmail]/Spam inbox by an IMAP client as equivalent to marking the
>> message as spam in the gmail UI. This is already accounted for in the
>> default autoconfig setup for spam messages, so there is no need to use
>> their custom API to perform this functionality.
>
> Excellent, I didn't know this, thanks Joshua.
>
> Presumably the converse is true? Meaning, if you mark a message as
> NotJunk, Gmail will update its filters accordingly after TB modifies the
> flag and moves it back into the Inbox?
>
> Is there anywhere in the Gmail interface you can see what is happening
> with their filters? Meaning, is there a way to confirm their filters are
> being updated? Some kind of logging or something?

I'd be interested in the answers to both of these myself...

Anyone?
_______________________________________________
dev-apps-thunderbird mailing list
[hidden email]
https://lists.mozilla.org/listinfo/dev-apps-thunderbird
Loading...