Skip to content
Back

[SOLVED] Appwrite's Mail worker exposed as an Email service with an interface?

  • 0
  • Tools
  • General
  • Self Hosted
Screentapper
5 Apr, 2023, 08:54

Hey, I actually just want to confirm if there's any way to interact with Appwrite's Mail Worker (or "email service") via any (REST/SDK/whatever) interface?

Eg, if you would like to send an Email in an Appwrite Function, do you need to implement your own SMTP service (and the needed libraries), even though there's already one configured for Appwrite to use "internally"?

TL;DR
The user asks if there is a way to interact with Appwrite's Mail Worker (email service) through an interface. The response states that currently, the Mail Worker is internal-only and cannot be accessed through the REST API. Users need to implement their own SMTP service if they want to send emails in an Appwrite Function. However, the Appwrite team is actively researching ways to simplify sending emails and SMS and it is planned for future releases. The user expresses interest in subscribing to an issue/roadmap to stay updated on the feature's release. No solution is provided in the thread.
Meldiron
5 Apr, 2023, 09:39

Hey there 👋 We didn't expose mail worker to REST API. The worker is internal-only, and you would need to use your own smtp client library.

We are actively researching ways for an API to simplify sending emails and SMS in general (alongside push notifications feature). This will most likely come with a way to also send custom messages in them. Stay tuned 🤞

Screentapper
5 Apr, 2023, 09:53

Thank you, that sounds very promising - exactly what we need.

Where can I subscribe to an issue/roadmap to keep an eye on the issue/feature so that we'll know immediately when it has been released... (or made available for testing)?

Meldiron
5 Apr, 2023, 09:56

Not sure, let me ping @Jake , he might have more insights. I know for sure it won't be part of Appwrite 1.3. For Appwrite 1.4 it's possibility but no promises. I know for sure it's planned for this year.

Drake
6 Apr, 2023, 18:16

We're working on making a public roadmap.

Here's a related discussion on Messaging: https://github.com/appwrite/appwrite/discussions/905

Screentapper
6 Apr, 2023, 22:10

Sound like you don't need help with implementing this, since you already have a team, but rather time to discuss and agree upon how it gets implemented? I just want to mention that we can make time available for such a feature implementation if you actually do need help.

Tessa
7 Apr, 2023, 21:05

@Screentapper did this answer your question? Checking to see if we can close 🙂

Meldiron
11 Apr, 2023, 06:35

You are right 😇 As soon as we have some public RFCs, we will start a GitHub discussion and your feedback will be really valuable.

Screentapper
12 Apr, 2023, 14:45

Yes thanks!

Tessa
12 Apr, 2023, 17:24

[RESOLVED] Appwrite's Mail worker exposed as an Email service with an interface?

Tessa
12 Apr, 2023, 17:24

[SOLVED] Appwrite's Mail worker exposed as an Email service with an interface?

Reply

Reply to this thread by joining our Discord

Reply on Discord

Need support?

Join our Discord

Get community support by joining our Discord server.

Join Discord

Get premium support

Join Appwrite Pro and get email support from our team.

Learn more