I believe you are talking about the feature key expiry. For the same you can login to GUI of ESA and follow the below steps:
System Administration -> Alerts -> Edit Alert Recipient -> Set "Anti-Virus" to Alert Severity "Warning"
The feature key expiration alerts fall under the category of System Alerts with Warning severity. Please be aware that this category also includes other types of alerts, detailed here: