Both of these sentences sound odd. ' But if we are using 'intention' then yes it does need 'an' as it is a noun. To use it without the an is grammatically incorrect.
New words, one handy idiom, and a 2-minute quiz — delivered to your inbox to keep your streak alive.