Update index page
Add mock email functionality
Basic main functionality for cron job