Amended to use detail_size, simplifying storage and email