I am searching for a Gmail App script that will help me using 1 mailbox by several people with all their own alias and labels. The script has to do 2 things and then we can use Gmail like we want!
1. If an external person sends 1 email to 2 different aliasses in this mailbox, you get the problem dat Gmail will only receive 1 mail and give this the 2 labels. If one person reads the email, the mail of the other person will be marked as "read".
To solve this, the script has (during receiving the message) to split this message in 2 seperate messages. Each mail has to get its own alias in the "to".
2. If 1 alias sends an email to another alias in the same mailbox, the message will be visible, but marked as read. There is no "marked as unread" option in Gmail. Maybe there is inside the Gmail App script?
Hi.
I think I'd be perfect for your project. I haven't specifically done what you're asking but I have experience making web apps that use google apis and would love to do more work on them. I believe the best way to accomplish what you're asking is to have a google app engine or flask app(both written in python as that is my preferred language and is amazing for its scalability. I can write it in javascript also if you would prefer but it will be uglier, harder to improve and take longer.
The gmail api has mostly all the same actions that a person could do. The part of the project that will be the most work I believe will be getting all the listeners and such set up. The actual program itself should be simple enough since all you're asking is that the app poll the mailbox on update and then change a couple of labels + generate a couple of emails?