add hourly support
set working mode
fix: tally set to 0 when time expired
Create emails.sql
Revert "fix: tally set to 0 when time expired"

This reverts commit d5f0ef542ac1c439499191195fd68ccf3f218a2d.