Sending emails added
Missing fields in install.sql added