send-email: find body-encoding correctly