WIP: Create new API endpoint for email optin

@dianakhuang @rlucioni 

Here's my API endpoint thus far. I still have a lot of clean up to do (work in progress) but wanted to get this to you if you want to start building off it.