This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
// Execute the "run" function below after setting up the appropriate APIs | |
// Original credit: https://stackoverflow.com/a/59222719/501042 | |
function sender_list_paged(token) { | |
var dt = new Date().getTime(); | |
var ss = SpreadsheetApp.create('Gmail count emails by sender ' + dt); | |
var sh = ss.getActiveSheet() | |
sh.clear(); | |
sh.appendRow(['Email Address', 'Count']); | |
var token = token || null; | |
var query = "in:inbox is:unread"; |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
const feathers = require('@feathersjs/feathers'); | |
const express = require('@feathersjs/express'); | |
const swagger = require('feathers-swagger'); | |
const app = express(feathers()); | |
// Turn on JSON body parsing for REST services | |
app.use(express.json()) | |
// Turn on URL-encoded body parsing for REST services | |
app.use(express.urlencoded({ extended: true })); | |
// Set up REST transport using Express |