Removed unused email code