public static Map<String, Object> storeIncomingEmail(DispatchContext dctx, Map<String, ? extends Object> context) {
Delegator delegator = dctx.getDelegator();
LocalDispatcher dispatcher = dctx.getDispatcher();
MimeMessageWrapper wrapper = (MimeMessageWrapper) context.get("messageWrapper");
Timestamp nowTimestamp = UtilDateTime.nowTimestamp();
<BUG>GenericValue userLogin = (GenericValue) context.get("userLogin");
String partyIdTo = null;</BUG>
String partyIdFrom = null;
String contentType = null;
String communicationEventId = null;

public static Map<String, Object> storeIncomingEmail(DispatchContext dctx, Map<String, ? extends Object> context) {
Delegator delegator = dctx.getDelegator();
LocalDispatcher dispatcher = dctx.getDispatcher();
MimeMessageWrapper wrapper = (MimeMessageWrapper) context.get("messageWrapper");
Timestamp nowTimestamp = UtilDateTime.nowTimestamp();
GenericValue userLogin = (GenericValue) context.get("userLogin");
Locale locale = (Locale) context.get("locale");
String partyIdTo = null;
String partyIdFrom = null;
String contentType = null;
String communicationEventId = null;
