make mail footer aware of different themes