Skip to content

imthenachoman/Nacho-Auto-Vacation-for-Gmail

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

23 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Auto Vacation for Gmail

Once enabled, this add-on will automatically enable and disable your Gmail vacation responder based on OOO events in your Google Calendar.

image

Homepage

Table of Contents

How It Works

  • A daily job will look for OOO events in the next 24 hours. If it finds any, it will schedule Gmail's vacation responder to turn on and off based on the first OOO event's start and end time.
  • If you have multiple OOO events in the same 24 hour window, it will process the next OOO event at the end of the current OOO event.
    • Note: The automation will not catch an OOO event if it happens within an hour of the previous one. In those cases you will have to manually Refresh the data through the add-on.
  • Another job will monitor for changes to your calendar. If you make any OOO changes for today, it will make the necessary updates.
  • The add-on does not modify the subject or message body of your Gmail's vacation responder. It simply enables or disables the vacation responder.

Note: Contrary to Google's documentation, or what you see on the Gmail browser UI, you can schedule the vacation responder to turn on or off at the hour/minute/second. The Gmail browser UI may show the wrong date, but it will turn on and off as expected.

(Table of Contents)

How To Use It

  1. Add the add-on from [TODO: insert Google Workspace Marketplace link]
  2. Go into Gmail or Google Calendar and open the add-on from the sidebar
  3. Toggle the add-on to enable it

That's it!

(Table of Contents)

Self Hosting

If you don't want to get the add-on from the marketplace:

  1. Clone this repo
  2. Push/copy the the following files into your own Google Apps Script project
    • appsscript.json
    • core.js
    • gmail.js
    • helpers.js
    • sidebar.js
  3. Follow the instructions in https://developers.google.com/apps-script/add-ons/how-tos/testing-workspace-addons#install_an_unpublished_add-on to install an unpublished add-on

(Table of Contents)

Help

For any questions, comments, concerns, feedback, or issues, submit a new issue.

Privacy Policy

See https://www.nachoapps.dev/av4g.

(Table of Contents)

License and Copyright

MIT License - https://github.com/imthenachoman/Auto-Vacation-for-Gmail/blob/main/LICENSE

(Table of Contents)

About

This add-on will allow you to automatically enable and disable your Gmail vacation responder based on OOO events in your Google Calendar.

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published