change categories to array in example smtp api header