# Retrieve Email Alerts https://api-docs.lumar.io/docs/protect/notifications/email-alerts/retrieve-test-suite-email-alerts ## Getting an Email Alert by id The following query retrieves an email alert by id: ```graphql query GetTestSuiteEmailAlert($testSuiteEmailAlertId: ObjectID!) { node(id: $testSuiteEmailAlertId) { ... on TestSuiteEmailAlert { id email alertTypes } } } ``` ## Getting the Email Alerts linked to a given test suite The following query retrieves the email alerts linked to a given test suite: ```graphql query GetTestSuiteEmailAlerts($testSuiteId: ObjectID!) { node(id: $testSuiteId) { ... on TestSuite { emailAlerts(last: 100) { nodes { id email alertTypes } } } } } ```