#!/usr/bin/env bash # Mark one email as read by UID. Run from repo root. # Usage: ./gitea-issues/mail-mark-read.sh set -euo pipefail GITEA_ISSUES_DIR="${GITEA_ISSUES_DIR:-$(cd "$(dirname "${BASH_SOURCE[0]}")" && pwd)}" export GITEA_ISSUES_DIR export REPO_ROOT="${GITEA_ISSUES_DIR}/.." exec python3 "${GITEA_ISSUES_DIR}/mail-mark-read.py" "$@"