Sending an email via Gmail

Sends an email
Import Workflow

-------------------------------------------------------------------------------- subject: cranq.ai flow export version: 1.0 title: Send mail with GMail ------------------------------------ BEGIN ------------------------------------- eyJmbG93Ijp7ImlkIjoiaWQtMDAwMDAwIiwidGl0bGUiOiJTZW5kIG1haWwgd2l0aCBHTWFpbCIsImRl c2NyaXB0aW9uIjoiU2VuZHMgYW4gZW1haWwgZnJvbSB5b3VyIEdNYWlsIGFjY291bnQuIiwiY3JlYXRl ZEF0IjoxNzA0ODc2OTA2MDgwLCJ1cGRhdGVkQXQiOjE3MDQ4NzcwNTkxNzQsImFjY2Vzc2VkQXQiOjE3 MDQ4NzcwNTkxNzR9LCJncm91cHMiOltdLCJzdGVwcyI6W3siaWQiOiJpZC0wNjg0OTAiLCJ0aXRsZSI6 IlNlbmRpbmcgYSBnbWFpbCIsImRlc2NyaXB0aW9uIjoiU2VuZCBhbiBlbWFpbCB2aWEgZ21haWwiLCJm bG93SWQiOiJpZC0wMDAwMDAiLCJpbmRleCI6MSwiaW5wdXRzIjp7ImlkLThkY2Y2OSI6eyJpZCI6Imlk LThkY2Y2OSIsIm5hbWUiOiJ0aXRsZSIsImRlc2NyaXB0aW9uIjoiVGhlIHRpdGxlIG9mIHRoZSBlbWFp bCIsInR5cGUiOiJzdHJpbmciLCJzb3VyY2UiOnsidHlwZSI6InZhbHVlIn0sImlzQm91bmRUb0NvZGUi OnRydWV9LCJpZC05Y2ZjNDYiOnsiaWQiOiJpZC05Y2ZjNDYiLCJuYW1lIjoiY29udGVudCIsImRlc2Ny aXB0aW9uIjoiVGhlIGNvbnRlbnQgb2YgdGhlIGVtYWlsIiwidHlwZSI6InN0cmluZyIsInNvdXJjZSI6 eyJ0eXBlIjoidmFsdWUifSwiaXNCb3VuZFRvQ29kZSI6dHJ1ZX0sImlkLWU5ODJlNCI6eyJpZCI6Imlk LWU5ODJlNCIsIm5hbWUiOiJyZWNpcGllbnQiLCJkZXNjcmlwdGlvbiI6IlRoZSByZWNpcGllbnQg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gfTtcbiAgICB0cnkge1xuICAgICAgICBjb25zdCBy ZXNwb25zZSA9IGF3YWl0IGF4aW9zLnBvc3QodXJsLCBkYXRhKTtcbiAgICAgICAgcmV0dXJuIHtyZXN1 bHQ6IHJlc3BvbnNlLmRhdGF9O1xuICAgIH0gY2F0Y2ggKGVycm9yKSB7XG4gICAgICAgIGlmIChlcnJv ci5yZXNwb25zZSAmJiBlcnJvci5yZXNwb25zZS5zdGF0dXMgPT09IDQwMykge1xuICAgICAgICAgICAg dGhyb3cgbmV3IEVycm9yKGVycm9yLnJlc3BvbnNlLnN0YXR1c1RleHQpO1xuICAgICAgICB9XG4gICAg ICAgIHRocm93IGVycm9yO1xuICAgIH1cbn0iLCJlbnRyeUZ1bmNOYW1lIjoic2VuZEVtYWlsIiwiZGVw ZW5kZW5jaWVzIjpbImF4aW9zIiwiYmFzZTY0dXJsIl0sInN1bW1hcnkiOiJTZW5kcyBhbiBlbWFpbCB2 aWEgR21haWwuIiwiYXBpcyI6WyJnb29nbGVtYWlsIl0sInNpZ25hdHVyZSI6IjhteW5hTC84MzRNOW1j eXhUVU5oZmlBVGNNWU5mRGFqWjQ4aXpIaElOUDFwWnJ1WTVzWW91VllYZDdYZ3d5eXdUR3lsSVhSRCt5 NnVqN0JHNjBPUEFnPT0iLCJwYXJhbWV0ZXJzSGFzaCI6ImZjNjAxMWViZTVmMjJkMzNkODQxZjVjNWU4 OTNhYTA4ZTZlZmY1YmMifX1dfQ== ------------------------------------- END --------------------------------------

Inputs
  1. addressee
  2. title
  3. messageBody
AI Description

Send an email, via gmail, to the provided addressee.  The title and message body will be provided

Required connections
Connected
Connected
Connected
Connected
Connected
Connected
Connected
Connected
Connected
Connected