I am a researcher and my in my current research I check the use of labels in Gmail.
The participants in the experiment sees the last 100 messages in their all mail view in Gmail and I would like a script maybe greasmonkey script that does the following:
for each one of the 100 messages:
if the from message is me - ignore the message
else if the message is a chat - ignore the message
otherwise: get the list of labels in this message.
The list can be an empty one - i.e. for messages in archive
contain the inbox word - i.e. for messages only in inbox
contain a label or number of labels
or contain inbox + label
Thanks
## Deliverables
Please help me - I guess if i would familiar with greasmonkey I could have done that myself