如何使用 SFDX CLI 拉取存储在 Public 文件夹的邮件模版(How to retrieve an email template stored in Public Email Templates using metadata?)
SELECT DeveloperName, FolderName, IsActive FROM EmailTemplate
SELECT DeveloperName, Folder.DeveloperName, IsActive FROM EmailTemplate
使用下面的命令可以正确获取到 public 文件夹下的邮件模版
sfdx force:source:retrieve -m EmailTemplate:unfiled\$public\/My_template_API_name