How can I remove the "sent via platform.sh" in my emails

When sending email from platformsh the recipient gets a ‘via platformsh’ appended. I understand platformsh uses sendgrid. How should i configure my domain so I don’t get the ‘via’ platformsh message?

You have to set up SPF on your domain.
Please refer to : https://docs.platform.sh/development/email.html and https://sendgrid.com/docs/glossary/spf/

Alternatively, you could use your own sendgrid account, or any other email api.