contestada

which one is correct?
1. I was going to ask if you would mind I attend the meeting on Wednesday.
2. I was going to ask if you would mind me attending the meeting on Wednesday.