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

Gmail label & out-bound email #187

Open
soyapark opened this issue Jul 12, 2019 · 1 comment
Open

Gmail label & out-bound email #187

soyapark opened this issue Jul 12, 2019 · 1 comment
Labels
bug Something isn't working

Comments

@soyapark
Copy link
Member

Might be related to #169

One of my gmail account, I have a filter rule that if I'm one of recipients or sender add a label X. At Youps, I set a rule, if I got an email arrived on this label/folder, forward the email to my friend.

When I emailed someone, Gmail filter adds the label X to this email and YouPS triggers message arrival event on the label -> then Youps forwards a message to my friend -> YouPS triggers message arrival event on the label -> then Youps forwards a message to my friend -> ....

When we check for message arrival events, can we add one more heuristic to make sure if the message is arrived on the folder or added to the folder? The heuristic could be simple as 1) checking if I'm on the receipients list (oh it might be a problem if I'm on bcc list) 2) if I'm a sender, make sure I'm on the receipient list too?

@soyapark soyapark added the bug Something isn't working label Jul 12, 2019
@lukesmurray
Copy link
Collaborator

Simple idea is to query the database for the message id or base message and if it exists then this was added not arrived.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Something isn't working
Projects
None yet
Development

No branches or pull requests

2 participants