Man arrested while incarcerated for writing letters