My question involves landlord-tenant law in the State of: New York
My lease agreement officially ends on August 15th, 2012. I will be moving out mid-June and have found a subletter to take my spot until mid-August. The problem is that the property manager sent me an email a little while ago telling me that my lease agreement is now ending July 31st as opposed to August 15th (she signed leases with new tenants to move in on August 1st). The subletter I found needs somewhere to stay until mid-August and he will not agree to move in unless he can stay this long. So the way I see it, the property manager is breaking the terms of my lease agreement and I should not have to pay rent for July or August since they are not allowing my subletter to stay till the end of my lease term. When I asked the property manager how she wants to resolve the situation, she responded with an email saying, "I will let put of July rent". I replied asking if she is saying that my lease agreement is now officially ending at the end of June but she has not responded. I am just looking for a clear statement in writing saying she is agreeing to end my lease agreement in June in case they decide to pull some BS on me and take me to court for not paying the July/August rent.
Prior to finding this subletter, I emailed the landlord and offered to do some work around here in exchange for him letting me end the lease at the end of June. He has not responded. What I am trying to show here is that I am not simply walking away from my lease agreement and have made attempts to end it early on fair grounds.
I will talk to my subletter tomorrow and I guess I will tell him that he cannot stay until mid-August. If the property manager does not respond and state clearly that she is agreeing to end my lease agreement in June, then can I just assume that is so based on the "I will let put of July rent" statement that she gave me? I am also hesitant to pay them for my June rent and I just want to tell them to use my security deposit as rent money. I feel they may try to screw me and will not return my security deposit. Is this ok for me to do?
Thank you all in advance.

