Hi Dmitriy,
Template attachments are saved in CMS_MetaFile table. So if you want to get all attachments, use this code:
var emailTemplate = EmailTemplateProvider.GetEmailTemplate("yourtemplatename", "yoursitename");
MetaFileInfoProvider.GetMetaFiles(emailTemplate.TemplateID, "cms.emailtemplate", "Template", "", "");