/var/www/gmail-bridge
)npm install
EID_PASSWORD
parseActivationLink
function to parse the desired value (e.g. activation link) from email bodynpm start
[email protected]
. We can leverage this to emulate email server. So we change the page.assignVar
for the following value:page.assignVarRemotely
takes in the following configuration:page.assignVarRemotely
to request the bridge for TEST_EMAIL
with intervals of 1 seconds and the timeout of 600 seconds. The bridge is expected to parse email body if any available for the activation link. In case of NodeBB it uses the following function:{ value: "ACTIVATION_LINK" }
. Here you can put the parsing logic if your bridge/API doesn't do the parsing. Any falsy return of this function causes the command to proceed polling. EID_SECRET
to pass the api key to the bridge service.