Index: src/Plugin/inmail/Analyzer/SenderAnalyzer.php
===================================================================
--- src/Plugin/inmail/Analyzer/SenderAnalyzer.php	(revision 17)
+++ src/Plugin/inmail/Analyzer/SenderAnalyzer.php	(working copy)
@@ -44,7 +44,7 @@
     $sender = NULL;
     $user = NULL;
     $matches = [];
-    $from = $message->getFrom()->getAddress();
+    $from = $message->getFrom()[0]->getAddress();
 
     preg_match('/[^@<\s]+@[^@\s>]+/', $from, $matches);
     if (!empty($matches)) {
