I would like to find the first mail by every Gmail contact I got mails from.
So the pseudo filter would be:
- get all mails
- group by from-address
- filter each group to show the first mail
- sort the query by time-stamp (DESC)
Is this somehow possible with the Gmail search function or otherwise?
Best Answer
With the following piece of code it is possible.
Code
Note
Add this script into a Google Spreadsheet by selecting from the menu Tools>Script editor. Press the bug button and go through the authentication process. Press the play button to execute the script again.