Intelligent in-app messaging strategies