Problem with adding the dependencies to the new binding created in Openhab 2

Hello,

I am planning to create a new email notification binding. I have done one already and compilation is also successful. For this binding, I had to add the dependency, javax.mail.jar. I have added the same, but when I run, I am getting an exception saying,
java.lang.ClassNotFoundException: javax.mail.Authenticator cannot be found by org.openhab.binding.notifydaily_2.3.0.qualifier

I later tried adding the dependency in pom.xml as well. Unfortunately even that is not helping.
Should I add the dependency else where for openhab?

Could anyone please help me in this?

Thanks in advance!