Added emailSending for created accounts. Added javaDocs. Minor other
changes.