Added the ability to get messages for a day