Expressing a past intention or plan; 'was planning to', 'intended to', 'meant to'.
Long explanation:
The ~つもりでした grammar point is used to express a past intention or plan that didn't happen or a past belief that was wrong. It can be translated as 'was planning to', 'intended to', or 'meant to' in English. The formation is used with a verb in its casual form.