AnsPress shortcode cannot be nested.
This would be an innovation not an invention. An invention is a unique product created whereas an innovation is an modification, addition or other change to a product. As you indicated email existed before either yahoo or gmail. Thus gmail would be classified as an innovation and not an invention.