Apps like Heroku and Fivetran don't support rich alerting through the Opsgenie API. Instead, they send emails. Is there a way to parse the subject lines of an email using a regex and extract an alert action and alias?
Here is an example:

Instead of creating two alerts, I'd like to automatically close the first one when the second "[Resolved Alert]" email comes in. A simple regex should be able to separate out whatever comes after the [Brackets] into the alert alias which we could use to auto close the issue. Is there a way to parse that subject line using incoming integrations?