Successfully sending emails with dynamic user specific content. Next goal: Run this function on cron.