An open API service indexing awesome lists of open source software.

https://github.com/cca/archive-hr-news

archive HR newsletters
https://github.com/cca/archive-hr-news

Last synced: 5 months ago
JSON representation

archive HR newsletters

Awesome Lists containing this project

README

          

# Archive HR Newsletters

Google Apps Script to search my gmail inbox for particular emails worth archiving and save them to a Drive folder. There is a preset function for saving years of HR newsletters or President's Office emails at a time, or a more targeted `archiveEmails` function can be employed with different parameters.

## Setup

- Go to script.google.com and create a project
- Copy-paste code.js in the project's default code file
- Under **Services**, add the **Gmail API**
- **Deploy** the project which causes it to ask for Gmail & Drive permissions

## Usage

Edit the `archiveHRYear(2025)` function at the top to capture a year of newsletters then **Run**. They will be saved to a folder named "HR News Archive" in your Drive, which is created if it does not exist. I have not tried moving the folder to a Shared Drive to see if files continue to be saved to it or if that causes the script to create another folder instead.

## License

[ECL-2.0](https://opensource.org/license/ecl-2-0)