integrate type=attachment