create gmail statistics - how many mail were sent by delegated users in a shared inbox?
I use google apps for domain.
I use an inbox with delegated users.
Delegated users go into the mailbox and send mail on behalf of the shared inbox. There is no way for me to search these emails sent by specific users in gmail. So I want you to send me monthly report and add labels to the mails sent by specific users.
To build for me,
use these resources:
in the original mail in gmail there is a header..
so we can extract it in the getRawContent() ..
to run through the mails and forward them:
and script to add gmail meter...
in google drive spreadsheets..
so just play and make it..
Every mailthread sent by a user must get a label with the mail of the delegated user. So I can see directly in my inbox at all times also..