updated to return action hash when sending message and not limit to Event messages to be trapped