View Source PlausibleWeb.Email (Plausible v0.0.1)

Summary

Functions

Unlike the default 'base' emails, priority emails cannot be unsubscribed from. This is achieved by sending them through a dedicated 'priority' message stream in Postmark.

Render an Phoenix template and set the body on the email.

Functions

Link to this function

activation_email(user, code)

View Source
Link to this function

approaching_accept_traffic_until(notification)

View Source
Link to this function

approaching_accept_traffic_until_tomorrow(notification)

View Source
Link to this function

cancellation_email(user)

View Source
Link to this function

dashboard_locked(user, usage, suggested_plan)

View Source
Link to this function

drop_notification(email, site, current_visitors, dashboard_link, installation_link)

View Source
Link to this function

enterprise_over_limit_internal_email(user, pageview_usage, site_usage, site_allowance)

View Source
Link to this function

error_report(reported_by, trace_id, feedback)

View Source
Link to this function

existing_user_invitation(email, site, inviter)

View Source
Link to this function

export_failure(user, site)

View Source
Link to this function

export_success(user, site, expires_at)

View Source
Link to this function

import_failure(site_import, user)

View Source
Link to this function

import_success(site_import, user)

View Source
Link to this function

invitation_accepted(inviter_email, invitee_email, site)

View Source
Link to this function

invitation_rejected(invitation)

View Source
Link to this function

new_user_invitation(email, invitation_id, site, inviter)

View Source
Link to this function

over_limit_email(user, usage, suggested_plan)

View Source
Link to this function

ownership_transfer_accepted(new_owner_email, inviter_email, site)

View Source
Link to this function

ownership_transfer_rejected(invitation)

View Source
Link to this function

ownership_transfer_request(email, invitation_id, site, inviter, new_owner_account)

View Source
Link to this function

password_reset_email(email, reset_link)

View Source

Unlike the default 'base' emails, priority emails cannot be unsubscribed from. This is achieved by sending them through a dedicated 'priority' message stream in Postmark.

Link to this function

render(email, template, assigns \\ [])

View Source

Render an Phoenix template and set the body on the email.

Pass an atom as the template name (:welcome_email) to render HTML and plain text emails. Use a string if you only want to render one type, e.g. "welcome_email.text" or "welcome_email.html". Scroll to the top for more examples.

Link to this function

site_member_removed(membership)

View Source
Link to this function

site_setup_help(user, site)

View Source
Link to this function

site_setup_success(user, site)

View Source
Link to this function

spike_notification(email, site, current_visitors, sources, dashboard_link)

View Source
Link to this function

stats_report(email, assigns)

View Source
Link to this function

trial_one_week_reminder(user)

View Source
Link to this function

trial_upgrade_email(user, day, usage)

View Source
Link to this function

two_factor_disabled_email(user)

View Source
Link to this function

two_factor_enabled_email(user)

View Source
Link to this function

yearly_expiration_notification(user)

View Source
Link to this function

yearly_renewal_notification(user)

View Source