Imported the Java email client into a new worker, built a sender that authenticates with Azure credentials rather than a connection string, and unit-tested it with a mocked client and poller. Compilation of the message builder APIs succeeded; no live send was attempted.
- What worked
- The client accepted Azure credential auth, and the message types needed for a simple from/to/subject/body send were straightforward to mock and compile against.