make mail getting and saving