Home button unresponsive due to Mail?
Are you sure it isn't just an intermittent hardware issue with the home button ?

I'm on my fourth iPhone 4 now, after the first three all developed problems wit the home button. In each case replacing the hardware fixed the problem, for a couple of months.