eventParameters = new SmsEventParameters(Locale.GERMAN,session,user,invocation,sms);
eventParameters.updateInteractionLog(log);
interactionLogManager.writeInteractionLog(log);
} else if(messageObject instanceof ReceivedEmail) {
ReceivedEmail email = (ReceivedEmail)messageObject;
LOGGER.info("email message: `" + email.getContent() + "`; subject: " + email.getSubject() + "`; sender: " + email.getEmailSender() + "; invocationId: " + invocation.getId() + " (keyword=`" + invocation.getKeywords() + "`)");
user = userManager.registerUserByEmail(email.getEmailSender(), invocation.getGroup());
eventParameters = new EmailEventParameters(Locale.GERMAN,session,user,invocation, email);
eventParameters.updateInteractionLog(log);
interactionLogManager.writeInteractionLog(log);
} else {
throw new BugException("unsupported message type: " + messageObject.getClass().getName());