I have some of my event triggers set up so when an event is seen, a copy of that event text is sent via email to my cell phone (such as when an Insteon switch send a local-load on command to turn on a light). Right now I wrote a script to send the "last event" text in the body of an email to me.

This works great but I'd like to minimize the number of mails I receive while still getting all the events sent to me in a timely fashion.

Is there any way these "events" can be bundled together and perhaps emailed all together in a single email? Perhaps a script that runs every 60 minutes and will send any new alerts from that time? Or any other suggestions to accomplish my goals?