fix regression on mail delete

commit a6577bb64c98dfbe introduced issue #64
Merge pull request #65 from kalou/fix

fix regression on mail delete