I would like to know whether there is a possibility for a Logic app with system assigned managed identity to create its own email address from which it would send an email to predefined users. Or maybe to use some kind of office 365 email for sending notifications that would not be managed directly by me but also would be maintained in that way so it could be used at any time.
The point is that currently, I have a perfectly working logic app that sends emails. But those emails are sent from an employee's email address that authorized Office 365 connection in the logic app. Since this is dependent on his or her email address if something happens to the email (employee changes jobs and email address needs to be decommissioned) logic app won't be executed and these emails which are critical for us to get will not be delivered.
Is there a way so the logic app would not be dependent on the email address of one person but instead of that on some kind of system-generated email address for sending emails?
There are several options. The most popular is the SendGrid service
https://docs.sendgrid.com/for-developers/partners/microsoft-azure-2021
There is a free option that includes 100 emails per day.
Related
In Azure Logic Apps, there is an action for Send Approval Email under Office 365 Outlook.
I want to have multiple approval options in the same email. Is there a way to do it?
I tried looping over and sending emails but that sends a new email every time with option to approve.
Currently, this is not possible in logic apps. You can send only 1 approval from logic apps. However, if it is must to use an approval connector you can build a logic app where you can send multiple emails and track the options through Storage account or you can simply use a send email connector and get the replies from users. Below is an alternative approach if it is must to use an approval connector from logic apps.
I have used parallel branches to set a time for the responding by the user. If the user fails to select the options within the time limit the logic app fails. In my case I have used 1 minute. However you can even set time using Delay until and mention the specific date and time to respond back.
In the parallel step I'm sending the Approval email to the user and then I'm storing all the Lists of the blobs in storage account into a variable.
Note: This results to trigger multiple emails to the users
In the next step, I'm checking if the user's options has already been created by checking their mail id. If yes, it just stores the selected option by the user else it creates the file and then stores the selected options by the user.
RESULTS:
In mail
In LogicApps Run
In storage account
Yes, you can have multiple approval in the To configuration with multiple email ID's separated by semicolons of the Send approval email action of the office 365 connector.
Once it is approved you can get the email ID of the person who has approved the request using the property UserEmailAddress and other details of the output of your Send approval email connector.
Context
The company I work for is just now adopting a ticketing system for their IT help requests. Previously, all of our users have access to a Slack account and would start a message thread in an itsupport labeled channel to begin a "ticket". Now we would like users to send an email to an itsupport#company.com inbox which will then in turn create a ticket within the ticketing system. Since we know our end-users are going to still send Slack messages in the channel, I have been tasked with making an integration between Slack and a Google inbox designated for our help desk requests. The ticketing system is managed by an IT company we are contracted with, thus I am not the one integrating the Google Inbox and the ticketing system. I am only tasked with the integration between Slack and the mailing inbox.
Not sure if this context is needed, but I am currently using Node.js to capture the requests sent from Slack and then using Nodemailer to send the emails into the itsupport#company inbox.
Problem
The problem I have ran into (I found some questions related earlier but am having a hard time finding them now) is figuring out how to send an email on behalf on any user within our Google Workspace. For example, if Joe Schmo sends a message in the correct Slack channel, I would like to be able to send an email to the itsupport#company.com inbox as joe.schmo#company.com rather than my personal Google workspace account or through a generalized IT user account. How would I achieve this goal? I could change the "From" name however it would be preferred if I could send the email from any email address in our workspace.
Currently we are using AWS SES to send an authentication email to the user. (This email is not related to the usual login/register authentication, it's our own)
The email address is entered by the user and we are sending one and only one email per email address.
This leads to many bounced emails and AWS suspended our service (around 9000 sent emails and 15% bounce rate).
My question:
How to deal with this problem? Users will mistype their email all the time. There is no way to verify if an email is valid without sending an actual email, right? That means that all SMTP providers will suspend our ability to send emails sooner or later.
Using nodejs to send the email but that is not really relevant I think.
Check the bounces by adding a sns topic and subscribe to it to get more information when bounces emails. (It's not always because of faulty email)
Ask users to enter their email address twice
There are some services out there that you can pass email addresses to that will give you a classification as to how likely the address is to be a “good” address
Here is a document from AWS which describes your problem:
https://aws.amazon.com/blogs/messaging-and-targeting/what-do-i-do-if-my-registration-emails-themselves-have-high-bounce-rates/
I have signed up with Google Apps, I am using a third party SMTP Server to send the emails from the web app, Emails are reaching inbox for all the email clients (yahoo, gmail, hotmail...)
But Emails sent to my domain (mydomain.com) are reaching SPAM, This is happening only for my domain Which is google apps account domain. The solution to the problem is the sender must be in the contacts of the receiver. So its a overhead involved in adding the sender in the contacts before receiving the mail. This is not automated.
NOTE: Mails sent from <xyz#mydomain.com> to <abc#mydomain.com> are reaching SPAM. It means, Its happening only when the sender and receiver belongs to same domain.
ASSUMPTION: ALL the emails will be sent from mydomain.com .
So, I want to write a script using google apps script So that when a mail arrives from mydomain.com (having FROM address belongs to mydomain.com), The script must execute and add the senders emails address in the contacts. So it will avoid the spam rate.
I am very new to google apps script, Please help me doing this, Or if any better solution is there please feel free to post.
Vinay,
It sounds like you may have an incorrectly configured SPF record. Please see this article:
https://support.google.com/a/bin/answer.py?hl=en&answer=33786&topic=2759192&ctx=topic
Email that has a mydomain.com sender address, needs to come from a mail server listed in your SPF record or risk being sent to spam.
By chance, has Contact Sharing been enabled for your apps domain? I'm just offering this as an hunch that might help rather than a specific solution to your problem.
If this doesn't help, its a straightforward but non-trivial problem to add all your domain accounts to each others contacts list (and keeping it synced over time), but you'll be leaning heavily on a version of the Contacts API rather than plain Apps Script because the Contacts service only operates on the contacts of the user executing your script.
I need help automating mass emails I'm sending daily.
I'm trying to send out automated mass emails through a Gmail account (My Business uses Google Apps). I built a Java program that allows me to enter my credentials (gmail username & password), Subject Line, Email List, and enter is a body template. The program then sends out emails one at a time to each of the contacts which are in a comma delimited list. This isn't spam as I'm getting the users to submit their email address.
I got this Mail Delivery Message today: "Technical details of permanent failure: Message rejected." I read that Google will only allow a maximum of 100 recipients to any message through its smtp gateway - and there's a maximum of 500 messages in any 24 hr period.
I need a new strategy. How do I build a program to automate sending of ~100-200 emails a day? Do I need to be buying IP's, SMTP Servers, write a new PHP application? I need a place to start because this is out of my scope.
Gmail is not designed for email marketing as you have seen. In the past I have used a Google App Engine account for sending tens to hundreds of thousands of emails (because that was where the domain was managed), but that can be a pain to manage.
You could consider using a service that specializes in email marketing. I have heard good things about Campaign Monitor and MailChimp. Plus MailChimp can integrate into Google Apps.
We use www.authsmtp.com but I was looking at switching to Google when we switch to Google Apps in the near future. I'll have to drill in a bit more. IN the meantime, give authsmtp a try.
Google specifically rejects this type of behavior/use of their system. https://support.google.com/mail/bin/answer.py?hl=en&answer=69585
I would suggest trying a system that is built for this type of activity such as MailChimp or Aweber.