• Home
  • Features
  • Pricing
  • Docs
  • Announcements
  • Sign In

kobotoolbox / kpi / 15687580355 / 2
81%
master: 76%

Build:
Build:
LAST BUILD BRANCH: dev-1257-remove-v1-forms-endpoint
DEFAULT BRANCH: master
Ran 16 Jun 2025 06:02PM UTC
Files 653
Run time 55s
Badge
Embed ▾
README BADGES
x

If you need to use a raster PNG badge, change the '.svg' to '.png' in the link

Markdown

Textile

RDoc

HTML

Rst

16 Jun 2025 05:23PM UTC coverage: 78.93% (-0.03%) from 78.955%
15687580355.2

push

github

web-flow
feat(massEmails): download a CSV of recipients from the last 30 days DEV-587 (#5843)

### đŸ“Ŗ Summary
Allow superusers to download a report of recipients of all emails for
the past 30 days.

### 💭 Notes
Adds a new resource for exporting a report of all users who received a
given email or emails. It only looks back 30 days to avoid massively
long queries. In an ideal world this would be configurable but it proved
very difficult to hook into the import-export-celery process to insert
this kind of configuration, and I thought it would be worth it to have
the same process for looking at both expected and actual recipients.
Also adds the MassEmailConfig uid to the expected recipients export for
consistency.


### 👀 Preview steps
Use MailHog or file-based emails for easiest testing

1. â„šī¸ have a super user account
2. Ensure there is at least one email in `MASS_EMAIL_TEST_EMAILS`
3. Create a new MassEmailConfig using the test_users query and set it to
live (frequency doesn't matter, though it might be easier to see results
if you set it to daily)
4. Wait for the email to send at least once
5. In the list view, select the mass email config you just created and
select the `Export with celery` action
6. In the ExportJob form, select "Last 30 days recipients resource" and
save
7. đŸŸĸ You should receive an email with a link to the ExportJob, which
will in turn have a link to download a csv with information about all
the recipients of the email

6159 of 10005 branches covered (61.56%)

23349 of 29582 relevant lines covered (78.93%)

0.79 hits per line

Source Files on job 15687580355.2
  • Tree
  • List 653
  • Changed 1
  • Source Changed 0
  • Coverage Changed 1
Coverage ∆ File Lines Relevant Covered Missed Hits/Line Branch Hits Branch Misses
  • Back to Build 15687580355
  • 7607d1f5 on github
  • Prev Job for on main (#15618414823.1)
  • Next Job for on main (#15707209815.2)
STATUS · Troubleshooting · Open an Issue · Sales · Support · CAREERS · ENTERPRISE · START FREE · SCHEDULE DEMO
ANNOUNCEMENTS · TWITTER · TOS & SLA · Supported CI Services · What's a CI service? · Automated Testing

© 2026 Coveralls, Inc