Skip to content

Latest commit

 

History

4 Commits

Folders and files

NameName
Last commit message
Last commit date
 
 
 
 

Repository files navigation

Gmail-Delete

Gmail script to delete all incoming emails received between a start and end hour. I use it for my CCTV alerts.

Hikvision CCTV systems store alerts and also forward on via email. I wanted the system to store the alerts 24x7 but i didn't want a huge number of emails during the day. I'm only interest in email alerts at night. The Hikvision system has no way of configuring this requirement, so this is a script to delete incoming emails that arrive during daylight hours (or whatever you configure). I'm sure there's a much more sophisticated way of doing this, but it works.

I have it setup on a gmail app script trigger for every minute.

About

Gmail script to delete all incoming emails received between a start and end hour

Resources

Stars

0 stars

Watchers

1 watching

Forks

Releases

Packages

Contributors

Languages