configure domain and email