# Step 4: Sending The Document to Our User

Finally, let’s tie everything together; add the final Gmail module at the end of the flow.

If you haven't already, establish a connection between Gmail and Integromat, and select the “Send an email” action. (Refer to [this guide](https://www.integromat.com/en/help/connecting-integromat-to-google-services-using-a-custom-oauth-client) for additional guidance.)

![](https://920729701-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2F-LwqSnBDpAb6mFZYLsuB%2Fuploads%2FshP73hiSuVs8GqDVGAHu%2Fimage.png?alt=media\&token=01584277-5f93-471b-9ddc-17379dd630f1)

Use our previous modules’ snippets to craft the email; add the user’s email in the “To” field, include their name in the subject line, and finally add PDFMonkey’s download URL to the content portion of the email.

![](https://920729701-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2F-LwqSnBDpAb6mFZYLsuB%2Fuploads%2FLddbOfgboYoRFrTAERxG%2Fimage.png?alt=media\&token=71202978-849c-48a7-84aa-6f17c3b258b9)

Test the complete flow by clicking “Run once” in the bottom left corner. (You may have to add a row, a fictional user, to your connected spreadsheet before the sequence will work).

If we’ve completed everything correctly, we should receive an email with a PDF containing the first three days of our meal plan.

![](https://920729701-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2F-LwqSnBDpAb6mFZYLsuB%2Fuploads%2FZtnAuDUFcsrAty19rUfK%2Fimage.png?alt=media\&token=81be0cb1-4713-4069-b837-e3f8f366d6cd)
