Hi @Abhijit Rajan,
Thanks for posting your question on the Microsoft Q&A platform.
As per the details provided it appears that the retirement only applies to the Azure Functions Service Bus extension v4.x. Since you are using different packages (WindowsAzure.ServiceBus Version="5.1.0" and Microsoft.Azure.WebJobs.ServiceBus Version="2.3.0"), which are not the same as the one mentioned in the email (Microsoft.Azure.WebJobs.Extensions.ServiceBus), your current versions should not be affected by the retirement of v4.x.
For your reference, please follow this Links : Document1, Document2.
Also refer this azure blog.
I hope the above provided information will help you in better understanding and solve your concern, if you have any further queries please feel free to reach out to us.