Cleanup
Filter labels
Use ticket or reply permission for attachment permissions
Refactor authentication to use ticket for everything
Store newlines as br