changing way of layouts being handled in views
use config value instead of hardcoded email