function readOnly(count){ }
Starting November 20, the site will be set to read-only. On December 4, 2023,
forum discussions will move to the Trailblazer Community.
+ Start a Discussion
drs-medrs-me 

Send email with apex via external service


Hi,
i want to implement a process which is started by a lightning button which will create a document (conga) and then ideally I want to see the email composer with a predefined template and the document previously generated attached. Then the email should be sent via o365. 
Is it possible to implement this with apex?
my challenges are:
- create document via apex + conga (possible)
- show an RTE and predefine the text (possible)
- show a list of documents attached to this object to be selected which are going to be sent out (possible)
- send the email via o365 (how?)

Thanks for your help