Get the messages securely.