Gmail files one message in INBOX and All Mail, each with its own UID; the reader kept an entry per folder. waiting_mail and mail_entry are now unique per account and message key (migration 0002 and schema.sql), a mail that already has its entry no longer waits again, and the test double keeps PgStore's own keys (issue 1548). A schema model test proves schema.sql equals the migrations in order.