messages and analytics