Andela Apps Script (Gmail magic-link fetcher)
Deploy this as a Google Apps Script Web App under the Google account whose Gmail receives the forwarded Andela login emails.
Setup
- https://script.google.com → New project → paste
Code.gsin asCode.gs. - Edit
SECRET_KEY(generate withopenssl rand -hex 16) andALLOWED_EMAIL(the email typed into the Andela login form — your Outlook address, not Gmail). - Deploy → New deployment → Web app → Execute as Me → Who has access Anyone.
- Authorize Gmail access when prompted, then copy the
/execURL. - Put that URL + the same SECRET_KEY + the same email into the Chrome extension's Settings page.
- Whenever you edit this file: Deploy → Manage deployments → Edit → Version: New version → Deploy (saving alone does not update the live web app).
Debugging
Run debugLoginEmails from the function dropdown in the editor, then check
Executions in the left sidebar for the Logger output.