The first sentence is correct and makes sense. ' (=I am asking you whether I can stay with you today. It's a request) So, in the case of your example, you could use: Do you mind Jim opening the door?
New words, one handy idiom, and a 2-minute quiz — delivered to your inbox to keep your streak alive.