code: @Modified
      protected void modified(ComponentContext context) throws Exception {
  
          processProperties(context.getProperties());
          deregisterJavaMailMBean();
          registerJavaMailMBean();
      }
docs: The Modified method is how the properties that are defined in the
  mailSession object of the server.xml are extracted and stored in the
  sessionProperties.
  
  @param context
  @param bundleContext
  @throws Exception