complete the preference (base,smtp)