Skip to content

Instantly share code, notes, and snippets.

@benbjurstrom
benbjurstrom / Code.gs
Last active September 10, 2024 10:16
PurgeOldEmails
/*
|--------------------------------------------------------------------------
| PurgeOldEmails
|--------------------------------------------------------------------------
| https://gist.github.com/benbjurstrom/00cdfdb24e39c59c124e812d5effa39a
|
*/
// Purge messages automatically after how many days?
var DELETE_AFTER_DAYS = 7