Send Outlook Mail Message system Error

Hi,
I face an Issue while using"Send Outlook Mail Message" activity. for the below HTML code, I get the “Input string was not in correct format” error.
I passed the Html code in the Email Body and when I pass parameters (String.format(EmailBody,parm1,parm2) like this. I get error. I don’t get any error when i pass the “EmailBody” .But when I pass any Paramter,I get error.

The HTML code is here,

Dear {0},

The Bot ran into Business exception while processing the below Outline Agreement. The requested Outline agreement failed during OA Exist check. Hence, no changes made.

table {

border-collapse: collapse;
width: 50%;
}

td, th {
border: 1px solid #dddddd;
text-align: left;
padding: 8px;
}

tr:nth-child(even) {
background-color: #dddddd;
}

Outline Agreement Validity End Date CW Number Your Reference Delete Entire OA (Y/N) Incoterms 1 Incoterms 2 OA Owner Status Request Date
{1} {2} {3} {4} {5} {6} {7} {8} {9} {10}

Please check the input data and resubmit your request again. Bot has not taken any action on this submission request.

Regards
ActionBot

@Esakkiappan_Balasubramani,

If you are getting this from a datatable, then you can convert the datatable into a html table before sending it in the email.

Try this post,