Fixed bug in email tests that would cause them to fail if run at 23h UTC

This will not work when the current day is the last day of the month. I think we can just add an hour to the date object and then get the day from the resulting object.