Some cleanup of mail receiver.
Put proper Javadoc on mail receiver.

[Review issue ]