Flush segment.io message queue before run_gmail.py closes.

Also adjust keen.io query to get min inbox count per hour.
Merge branch 'master' of github.com:total-impact/impactstory-analytics