Writing EMAIL configuration.