/** @see com.castorama.scenario.BaseSendEmailAction#configure(java.lang.Object) */
  public void configure(Object pConfiguration) throws ProcessException {
    super.configure(pConfiguration);

    BaseSendEmailConfiguration config = (BaseSendEmailConfiguration) pConfiguration;

    mProfileTools = config.getProfileTools();

    if (mProfileTools == null) {
      throw new ProcessException(
          PromotionConstants.getStringResource(PromotionConstants.PROMOTION_TOOLS_NOT_FOUND));
    }

    mFromEmail = config.getFromEmail();
    mEmailSubject = config.getEmailSubject();
  } // end method configure
 /** @see com.castorama.scenario.BaseSendEmailAction#initialize(java.util.Map) */
 @SuppressWarnings("unchecked")
 public void initialize(Map pParameters) throws ProcessException {
   super.initialize(pParameters);
   storeRequiredParameter(pParameters, PARAM_TEMPLATE, java.lang.String.class);
   storeRequiredParameter(pParameters, PARAM_REFERRER_TEMPLATE, java.lang.String.class);
 }