Initial backup 2026-02-17

This commit is contained in:
Krilly
2026-02-17 15:50:53 +00:00
commit 8902a93add
941 changed files with 131420 additions and 0 deletions

View File

@@ -0,0 +1,22 @@
#!/bin/bash
# List configured email accounts
# Usage: mail-accounts.sh
osascript <<EOF
tell application "Mail"
set output to ""
repeat with acct in every account
set acctName to name of acct
set acctType to account type of acct as string
set acctEmail to ""
try
set acctEmail to email addresses of acct
if class of acctEmail is list then
set acctEmail to item 1 of acctEmail
end if
end try
set output to output & acctName & " (" & acctType & ") - " & acctEmail & linefeed
end repeat
return output
end tell
EOF