To understand the phrase, "I meant to do that" means that I had the intention to carry out an action.