Have a good mind to (do something)

To be tempted to do something.

I have a good mind to tell my friend that I will not lend him any money.