CLC-3991 Really ugly script to generate lists of emails based on active UIDs

https://jira.ets.berkeley.edu/jira/browse/CLC-3991

This is to make it easier in the future to build custom lists of active CalCentral users for marketing purposes. You build the list of active users from production postgres, then run that list against a filter applied to the Oracle database to get a list of emails. Future marketing work will probably require modifying the specifics of the Oracle query. In this particular case, Bernie wants active non-first-year students. 
For the sake of the next dev in line, it might be worth describing the specific goal in a comment. According to the PR description, that's "Get active non-first-year students", right?