Hey @haet
Many thanks for your answers, I really appreciate that and I understand what you’re saying. Also, thanks for looking into the WP Job Manager.
@blackeye0013 I understand your point, it makes sense, but I think your case might be a little different.
The whole point of the WP HTML Email plugin, and I believe what it was created for, is that it adds a template to ALL WP emails. Including the ugly WP system emails, such as Welcome New User, Forgotten Password or other default WP emails.
And this works great, but what it also does as a ‘side effect’ is that it adds a template to ALL other emails even where you don’t want it. If the plugin is not on the ‘plugins’ list, it can’t be turned off. (it can but only using the function)
And I agree with @blackeye0013 , the plugins list is limited.
Woocommerce is extra annoying, because although Woocommerce is on the plugins list, I still can’t turn off the template.
I know that there’s an additional extension for WOO, but if you decide you don’t want the extra extension and you just want to stick to the default WOO emails, there is no way to turn the template off. (other than the suggested functions based on subject for example)
So as a result, it also adds a template into WOO emails and it creates this ugly top and bottom margin on each email and there is just no way to get rid off it.
Same with WC Job Manager or other plugins not on the list, the template adds a margin to the top and bottom.
@blackeye0013 But what you want is to basically switch off the template completely and then only activate it based on a single plugin.
It makes sense, but In you case, as you mentioned Caldera forms, can’t you just look into editing the individual Caldera email template file instead?
Or Caldera even has an extension for that, see here: https://calderaforms.com/downloads/mail-templates/
@haet I don’t really know how this is technically possible, but here is an idea. Is there any way to dynamically detect what emails are being sent from the website including all emails sent by installed plugins?
If that’s possible, you could have another tab for emails. This would give a complete list of ALL emails that are detected to be sent by the website.
You could then use tickboxes and tick or untick to choose emails to apply the template to.