Before Google approved access to your messages, their team performed a thorough examination of this extension (it took a few weeks) and gave it permission to access Gmail data. Besides, anybody can see its source code and watch which information, if any, is sent to the server (spoiler: none). You can read more about how your data is used
here.