Sends an email with the Artalytics whitepaper to interested users. Personalizes content based on user type (artist, investor, other).
Value
List with success status and details:
- success
Logical indicating if email was sent
- message_id
ID of sent email (if successful)
- error
Error message (if failed)
See also
get_resend_config()for API configurationsend_investor_welcome()for investor-specific emails
Other email-sending:
send_artist_invite(),
send_contact_email(),
send_investor_welcome(),
send_metrics_admin(),
send_metrics_confirm(),
send_metrics_granted(),
send_waitlist_confirm()
Examples
if (FALSE) { # \dontrun{
# Send whitepaper to an investor
result <- send_wp_email(
to = "investor@vc.com",
usr_type = "investor"
)
if (result$success) {
message("Whitepaper sent successfully!")
}
# Send with custom whitepaper URL
result <- send_wp_email(
to = "user@example.com",
usr_type = "other",
wp_url = "https://cdn.artalytics.app/docs/whitepaper-v2.pdf"
)
} # }
