for automated sending of messages