Mine
public text v1 · immutabletell application "Mail"
if account "Mathieson" is enabled then
set enabled of account "Personal" to true
set enabled of account "Mathieson" to false
else
set enabled of account "Personal" to false
set enabled of account "Mathieson" to true
end if
end tell
beep