Index: Plugin/inmail/Analyzer/PGPAnalyzer.php
===================================================================
--- Plugin/inmail/Analyzer/PGPAnalyzer.php	(revision 17)
+++ Plugin/inmail/Analyzer/PGPAnalyzer.php	(working copy)
@@ -250,7 +250,7 @@
     $sender = NULL;
     $user = NULL;
     $matches = [];
-    $from = $message->getFrom()->getAddress();
+    $from = $message->getFrom()[0]->getAddress();
 
     // Use signed headers to extract "from" address for PGP/MIME messages.
     if ($result->getContext('pgp')->getContextValue()['pgp_type'] == 'mime') {
