quick hack to get emails to render nicely
add in option to remove locale deprecation message