emails

class gratipay.models.package.emails.Emails[source]

A Package has emails associated with it, which we use to verify package ownership.

classify_emails_for_participant(participant)[source]

List email addresses on file for this package, classified by their relevance to the participant in question. Returns a list of (address, classification) string tuples, sorted by classification as follows:

  • primary
  • verified
  • unverified
  • unlinked
  • other

Emails are alphabetical within each classification.