changed 'if' to and 'unless' to get emails and messages to not send on weekends