We have SW and SAM but this is a SW feature we're trying to get working, here below we have a Orion Universal Device Poller using OID's adding data to a tabular table

So we've a custom poller setup to give a warning alert at less than 60 and a critical at less than 30 days and this works fine but we need to formulate a way of getting that information of the expiring certificate into the email alert using the variables or SWQL - can anyone assist in this please? We are currently getting an email with just node information within.