make external mail work