@prateek_gulati for using BPM mail connector, make sure that required dependencies are in the classpath.
And configure the plugin with process engine configuration.