finish apis mail merge