protected function parseFrom($from)
    {
        $parts = explode(' ', $from);
        if (count($parts) == 1) {
            return $from;
        }

        $email = array_pop($parts);
        $email = trim($email, '<>');

        $name = implode(' ', $parts);
        return [$email => $name];
    }