Hi Ibrahim,
Good afternoon and thank you for your question. As far as I can tell, you will need to have a license or a subscription and the minimum/cheapest option that I can think of is Exchange Online Plan 1.
Reference: https://www.microsoft.com/en-us/microsoft-365/exchange/compare-microsoft-exchange-online-plans
Have you tried using Shared Mailbox if it works?
https://learn.microsoft.com/en-us/graph/outlook-send-mail-from-other-user?source=recommendations