Request for improvement: create a to_html_table function

It would be very useful to have a to_html_table function available in invantive’s language.
example below

declare
      l_table varchar2;
begin
    select to_html_table
           (
              select col1, col2, col3
              from table@container
              where col1 = 'this'
            ) into l_table;
-- sending email
  insert into smtp@mail
    ( toEmail
    , ccEmail
    , bccEmail
    , subject
    , body
    , attachmentContents
    , attachmentName
    , attachmentMimeType
    )
    select 'destination_email@domain.com' -- add here your recipients separed by a [,]
           toEmail
    ,      cast(null as varchar2)
           ccEmail
    ,      cast(null as varchar2)
           bccEmail
    ,      'Invantive replication script'
           subject
    ,     l_table
           body
    ,      null -- rfe.file_contents
           attachmentContents
    ,      null -- basename('{USER_MULTI_PARTIES_FILE_NAME}')
           attachmentName
    ,      null -- cast(null as varchar2)
           attachmentMimeType;
end;

What should the output be of to_html_table in the example above?

like this