add methods for getting actioned message ids out of a collection of message ids