I’ve posted the wrong payload. Apologies
{
"to": "info@test.co",
"from": "no-reply@test.co",
"replyTo": "info@test.co",
"bcc": "test@gmail.com",
"subject": "New user",
"text": "a",
"template": "new-user"
"h:X-Mailgun-Variables": "{'email': 'test@test.com'}"
}