get rid of unnecessary if/else
Add missing necessary params to spec for start and end time
Remove spec for sending out email

this should be tested somewhere else now