Skip to content

Instantly share code, notes, and snippets.

Embed
What would you like to do?
Gmail, otomatik sil
function OtomatikSil () {
var threads;
var thread;
threads = GmailApp.search("older_than:10d");
for(var i = 0; i < threads.length; i++)
{
var thread = threads[i];
GmailApp.moveThreadToTrash(thread);
}
}
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
You can’t perform that action at this time.