This question already has an answer here:
Which of the following is (more) correct or are they both acceptable?
I apologise for your receiving emails.
I apologise for you receiving emails.
I think I read somewhere (but can't find the reference) that the first one is more correct.