Changed email scheduler for testing