New data sets
new function to simply close the connection
Properly closing the connection when opening the mail management system