Function getEmailsFromGmailHandler
- getEmailsFromGmailHandler(req: Request<{
email: string;
}, {}, {}, {
includeSpamTrash: undefined | string;
maxResults: undefined | string;
pageToken: undefined | string;
q: undefined | string;
}, Record<string, any>>, res: Response<any, Record<string, any>>): Promise<Response<any, Record<string, any>>>
-
Parameters
-
req: Request<{
email: string;
}, {}, {}, {
includeSpamTrash: undefined | string;
maxResults: undefined | string;
pageToken: undefined | string;
q: undefined | string;
}, Record<string, any>>
-
res: Response<any, Record<string, any>>
Returns Promise<Response<any, Record<string, any>>>
This function will fetch all the emails from gmail
Author
aayushchugh