add basic letter submission function