C12.0: ElyMail backend moves to Rust crates; iCloud by app password

async-imap, async-pop, mail-send, mail-parser and mail-builder replace
MailCore 2. The MailCore 2 and libetpan fetch, build and probe scripts
go. HTML bodies render as a sanitized block subset in GPUI; compose uses
the Markdown document component. OAuth client IDs come from oauth.env
(ignored) or CI secrets. The task list for C12 is rewritten in order.

Co-Authored-By: Claude Opus 5.5 (1M context) <noreply@anthropic.com>
This commit is contained in:
ZacharyZhang-NYandClaude Opus 5.5 committed 2026-10-19 16:02:34 -04:00
1 parent 0d991e1c71
commit d7de5619a7
11 files changed
+52 -150

No files matched your search

-29
View File
@@ -1,29 +0,0 @@
#!/usr/bin/env bash
# Pinned libetpan has every header MailCore 2 includes.
set -euo pipefail
root=$(cd "$(dirname "$0")/../.." && pwd)
prefix=$root/engines/libetpan
work=$(mktemp -d)
trap 'rm -rf "$work"' EXIT
fail() {
echo "FAIL: $*" >&2
exit 1
}
"$root/scripts/build-libetpan.sh" >"$work/build.log" 2>&1 || {
cat "$work/build.log" >&2
fail "build failed"
}
[ -s "$prefix/lib/libetpan.a" ] || fail "no libetpan.a"
config=$prefix/BUILD-config.h
grep -q '^#define HAVE_OPENSSL 1' "$config" || fail "libetpan built without TLS"
grep -q '^#define HAVE_JSON 1' "$config" || fail "libetpan built without json-c"
headers=$(grep -rhoE '#[[:space:]]*include[[:space:]]*<libetpan/[A-Za-z_0-9]+\.h>' "$root/reference/mailcore2/src" |
sed -E 's/.*<(libetpan\/[^>]+)>.*/\1/' | sort -u)
[ -n "$headers" ] || fail "MailCore 2 sources include no libetpan header"
for header in $headers; do
[ -f "$prefix/include/$header" ] || fail "pinned libetpan lacks $header"
done
echo "libetpan: $(wc -l <<<"$headers" | tr -d ' ') headers MailCore 2 includes are present"