Simple wordpress plugin to configure mail based on existing settings