# GraphQL functionality on an email module not rendering information after submitted

**URL:** <https://community.hubspot.com/t/graphql-functionality-on-an-email-module-not-rendering-information-after-submitted/77761>\
**Category:** CMS Development\
**Tags:** email\
**Created:** [March 22, 2023, 4:48pm UTC](https://community.hubspot.com/t/graphql-functionality-on-an-email-module-not-rendering-information-after-submitted/77761 "2023-03-22T16:48:16Z")\
**Posts on this page:** 2\
**Page:** 1

<div class="post-metadata">

**Author:** ![ABecerraDiaz](https://d10pqhm3lwygmk.cloudfront.net/user_avatar/community.hubspot.com/abecerradiaz/32/53869_2.png) [@ABecerraDiaz](https://community.hubspot.com/u/ABecerraDiaz)\
**Post date:** [March 22, 2023, 4:48pm UTC](https://community.hubspot.com/t/graphql-functionality-on-an-email-module-not-rendering-information-after-submitted/77761/1 "2023-03-22T16:48:16Z")

</div>

Hi!!  
I am currently developing a module that utilizes GraphQL to obtain information from a contact. By utilizing GraphQL, I am able to retrieve the contact information for the designated email recipient. With this contact information, I am able to retrieve the corresponding deals associated with the contact. Lastly, I am able to retrieve the line items associated with each deal and print them out.

 ![GrapchQL File.png](https://d2qpr2jzcazej7.cloudfront.net/original/3X/3/5/355f893c39fd373fedb8cc825fbc8fc4c97b66bf.png)

Here my module code:

 ![Module Code.png](https://d2qpr2jzcazej7.cloudfront.net/original/3X/3/1/31842592b46afa2df7b77d81580dfaff92e69b90.png)

Everithing works fine when I try a preview selecting a contact

 ![ScreenshotModule.jpg](https://d2qpr2jzcazej7.cloudfront.net/original/3X/9/1/91193f06aec2c81798e120d36a4f37cbeb7e56ac.jpeg)

Nevertheless, once the email is dispatched, the recipient receives an email that lacks any information or content. It appears that the details are solely visible in the preview and not after the email is submitted. Have you encountered a similar issue?

---

<div class="post-metadata">

**Author:** ![Jaycee\_Lewis](https://d10pqhm3lwygmk.cloudfront.net/user_avatar/community.hubspot.com/jaycee_lewis/32/61352_2.png) [@Jaycee\_Lewis](https://community.hubspot.com/u/Jaycee_Lewis)\
**Post date:** [March 23, 2023, 7:50pm UTC](https://community.hubspot.com/t/graphql-functionality-on-an-email-module-not-rendering-information-after-submitted/77761/2 "2023-03-23T19:50:14Z")

</div>

Hey, @ABecerraDiaz 👋 Thanks for reaching out. Hey, @alyssamwilie @Teun @CMcKay, do you have any tips you can share with @ABecerraDiaz?

Thank you very much! — Jaycee
