How can I select base_module for Email templates

Hi All,

I need to group Email templates  based on the base_module value in the database table.

How can I add the base module for an Email templates