Finished CRUD and full email functionality