I was wondering if there was a way to automatically assign a tag or identifier to tickets that come in by email domain.
For new incoming tickets couldn't you just use ticket filters to match on the address? Filter A would assign domain1 to department foo. Stop processing filters. Filter B would assign domain2 to department bar. Stop processing filters.