Fixed security holes

I fixed two security issues with the app:
1. I removed the insecure package, so a malicious user can no longer edit, insert, or remove emails from the database.
2. I fixed a bug that was publishing the emails data to all users, whether they were admins or not.