+ Comprehensive analysis of your email patterns and personalized
+ recommendations.
+
+
+ {/* Report Display */}
+ {report && (
+
+ {/* Executive Summary */}
+
+
+
+
+ Executive Summary
+
+
+
+
+
+
+ Professional Persona
+
+
+ {report.executiveSummary?.userProfile.persona}
+
+
+ Confidence:{" "}
+ {report.executiveSummary?.userProfile.confidence}%
+
+
+
+
+ Email Sources
+
+
+
+ Inbox:
+
+ {report.emailActivityOverview.dataSources.inbox}
+
+
+
+ Archived:
+
+ {
+ report.emailActivityOverview.dataSources
+ .archived
+ }
+
+
+
+ Sent:
+
+ {report.emailActivityOverview.dataSources.sent}
+
+
+
+
+
+
+ Quick Actions
+
+
+ {report.executiveSummary?.quickActions
+ .slice(0, 3)
+ .map((action, index) => (
+
+
+ {action.difficulty}
+
+
+ {action.action}
+
+
+ ))}
+
+
+
+
+
+
+ Top Insights
+
+
+ {report.executiveSummary?.topInsights.map(
+ (insight, index) => (
+
+
{insight.icon}
+
+
+
+ {insight.priority}
+
+
+
+ {insight.insight}
+
+
+
+ ),
+ )}
+
+
+
+
+
+ {/* User Persona */}
+
+
+
+
+ Professional Identity
+
+
+
+
+
+ Professional Identity
+
+
+ {report.userPersona?.professionalIdentity.persona}
+
+
+ {report.userPersona?.professionalIdentity.supportingEvidence.map(
+ (evidence, index) => (
+
+
+ {evidence}
+
+ ),
+ )}
+
+
+
+
+
+ Current Priorities
+
+
+ {report.userPersona?.currentPriorities.map(
+ (priority, index) => (
+
+ {priority}
+
+ ),
+ )}
+
+
+
+
+
+ {/* Email Behavior */}
+
+
+
+
+ Email Behavior Patterns
+
+
+
+
+
+
+ Timing Patterns
+
+
+ Peak hours:{" "}
+ {report.emailBehavior?.timingPatterns.peakHours.join(
+ ", ",
+ )}
+
+
+ Response preference:{" "}
+ {
+ report.emailBehavior?.timingPatterns
+ .responsePreference
+ }
+
+
+ Frequency:{" "}
+ {report.emailBehavior?.timingPatterns.frequency}
+
+
+
+
+ Content Preferences
+
+
+ Preferred:{" "}
+ {report.emailBehavior?.contentPreferences.preferred.join(
+ ", ",
+ )}
+
+
+ Avoided:{" "}
+ {report.emailBehavior?.contentPreferences.avoided.join(
+ ", ",
+ )}
+
+
+
+
+ Engagement Triggers
+
+
+ {report.emailBehavior?.engagementTriggers.map(
+ (trigger, index) => (
+
+ • {trigger}
+
+ ),
+ )}
+
+
+
+
+
+
+ {/* Response Patterns */}
+
+
+
+
+ Response Patterns & Categories
+
+
+
+
+
+ Common Response Patterns
+
+
+ {report.responsePatterns?.commonResponses.map(
+ (response, index) => (
+
+
+
+ {response.pattern}
+
+
+ {response.frequency}%
+
+
+
+ "{response.example}"
+
+
+ {response.triggers.map(
+ (trigger, triggerIndex) => (
+
+ {trigger}
+
+ ),
+ )}
+
+
+ ),
+ )}
+
+
+
+
+
+ Email Categories
+
+
+ {report.responsePatterns?.categoryOrganization.map(
+ (category, index) => (
+
+
+
+ {category.category}
+
+
+ {category.priority}
+
+
+
+ {category.description}
+
+
+ {category.emailCount} emails
+
+
+ ),
+ )}
+
+
+
+
+
+ {/* Label Analysis */}
+
+
+
+
+ Label Analysis
+
+
+
+
+
+ Current Labels
+
+
+ {report.labelAnalysis.currentLabels.map(
+ (label, index) => (
+
+
+ {label.name}
+
+
+ {label.emailCount}
+
+
+ {label.unreadCount} unread
+
+
+ {label.threadCount} threads
+
+
+ ),
+ )}
+
+
+
+
+
+ Optimization Suggestions
+
+
+ {report.labelAnalysis.optimizationSuggestions.map(
+ (suggestion, index) => (
+
+
+
+
+ {suggestion.type}
+
+
+ {suggestion.suggestion}
+
+
+
+ {suggestion.reason}
+
+
+
+ {suggestion.impact} impact
+
+
+ ),
+ )}
+
+
+
+
+
+ {/* Actionable Recommendations */}
+
+
+
+
+ Actionable Recommendations
+
+
+
+
+
+ Immediate Actions
+
+
+ {report.actionableRecommendations?.immediateActions.map(
+ (action, index) => (
+
+
+
+ {action.action}
+
+
+ Time required: {action.timeRequired}
+
+
+
+
+ {action.difficulty}
+
+
+ {action.impact} impact
+
+
+
+ ),
+ )}
+
+
+
+
+
+ Short-term Improvements
+
+
+ {report.actionableRecommendations?.shortTermImprovements.map(
+ (improvement, index) => (
+
+
+ {improvement.improvement}
+
+
+ Timeline: {improvement.timeline}
+
+
+ {improvement.expectedBenefit}
+
+
+ ),
+ )}
+
+
+
+
+
+ Long-term Strategy
+
+
+ {report.actionableRecommendations?.longTermStrategy.map(
+ (strategy, index) => (
+
+
+ {strategy.strategy}
+
+
+ {strategy.description}
+
+
+ {strategy.successMetrics.map(
+ (metric, metricIndex) => (
+
+ {metric}
+
+ ),
+ )}
+
+
+ ),
+ )}
+
+
+
+
+
+ )}
+