How to program “Personalized messaging queue”