Google apps script to send inbox counts to Beeminder