[code] complete email uploadr