Remove strange config key and old mail send class.
More schema and other fixes