Here're steps for you to achieve this requirement.
1.Create a person and group column named "assigned to" and a date and time column named "deadline".
2.Create a flow as following pictures show.
Expression reference:
formatDateTime(item()['deadline'],'yyyy-MM-dd')
addDays(utcNow(),0,'yyyy-MM-dd')
If the answer is helpful, please click "Accept Answer" and kindly upvote it. If you have extra questions about this answer, please click "Comment".
Note: Please follow the steps in our documentation to enable e-mail notifications if you want to receive the related email notification for this thread.