How to customize email notification for specific Build Runner Type

According to TeamCity – customize email notification for specific Projects, I got how to customize email for specific project or build. However, I’d like to know whether it’s possible to filter specific Build Runner Type in freemarker. For example, send specific email only for Python build.
Thanks for your help in advance.