An example of Node.js application that can be use in Heroku Scheduler task. The app send email (using SendGrid) if there are any data in Heroku Postgres db.