Update field when ticket create

Update field when ticket create

Hello
I need help to create a small custom function that update on ticket creation, the field cf_order_status by inserting a url composed of a fixed part + customer's email, like this:

https://site.url.com/?m=customer@email.com

Could you help me?
Thanks