Got AddStringAttachment to work. Couldn't really tell you what changed and why it suddenly started working.