Added automated messaging functionality