Disconnect Salesforce before disconnecting the associated email address - salesforce

I am trying to disconnect one of my email addresses (a corporate address) from my personal Trailhead account.
a) From https://trailblazer.me/settings?lang=en_US and then...
b) From section "EMAIL ACCOUNTS Manage your connected email accounts", when clicking the button "Disconnect" next to the corp. email address I want to disconnect, Salesforce shows me this red message:
I have disconnected any Salesforce Account and I have even tried to perform the disconnection of the email address from a different laptop but I am getting the same above mentioned red message again.
How can I get over this red message and effectively disconnect the corporate address? Should I perhaps wait 24 hours?
Thank you very much.

Answer from Salesforce Team which has resolved the issue:
Thanks for getting in touch with the Trailhead help team.
You have two salesforce orgs connected to the trailhead. Please check
any of the salesforce org use the email id which you are trying to
disconnect. If yes, please disconnect that org before you try to
remove the email id.

Related

Why am I getting error while adding service in EmailJS?

I am getting 412 Gmail_API: Request had insufficient authentication scopes while trying to configure service in Email JS. Also, receiving the same error while sending email using React.js library.
Below is the screenshot of the error.
Image displaying error while adding service
I had the same and submitted the question, their answer was:
"To solve this problem, you need to go to EmailJS dashboard -> Services, click on the Gmail service in your list, and reconnect your account. Please click on the checkbox "Send email on your behalf" to allow us to send the emails through your Gmail account. The new Gmail access popup leaves all permissions disabled by default."
Had to disconnect and re-connect my email address:
Go to emailJS dashboard and select "Email Services" on the top left
Clicked on the service that is getting the error in your list of email services and select "Disconnect" next to your connected email address
Then select "Connect Account" to reconnect your email address (I'm using gmail) and finish by clicking "Update Service"
That solved the issue for me, best of luck!
Piggy backing off of what abo mentioned, the error may also arise because it was your first operation via EmailJs.
I also got the 412 status code. I logged error.text from the emailJS.sendForm() call and got this:
"Gmail_API: Invalid grant. Please reconnect your Gmail account"
Ksenia's answer was the fix for me as well. If you're curious as to why it's happening see this post.
In my case it was due to my account being inactive for 6 months.
Just repeat the process, when you get the notification that emailjs has found n-number services with your email already click done then proceed and click continue. this worked for me.

Azure AD account had option to send password to another email address - where is this address in user's Azure AD?

I was just recently created as a new user in Microsoft 365 Admin Center (https://admin.microsoft.com/) and during account creation, when setting up password, there was a field to send the password /setup details to me through another email address (my previous email address, outside O365).
I received my new account notification at this other email address, and now this email address gets notifications etc. but when we look at my Azure AD membership, I can't find where this email address is configured in the settings. Where is this forwarding address being stored?
We checked Azure Admin portal (portal.azure.com) Authentication contact info for my entry and it's not filled in.
It's not in Manage User Name or contact information in the https://admin.microsoft.com/Adminportal/Home#/users page
It's not in my account profile anywhere in https://portal.office.com/account/#personalinfo
Totally stumped! Apologies if the answer is obvious.
Mystery solved: The forwarding was happening through billing notifications setup:
https://admin.microsoft.com/AdminPortal/Home#/BillingNotifications
did you check in the account profile under security and privacy? there is an email field there as well. https://portal.office.com/account/#security
if not there. then there is a different spot,
make sure you're logged into portal.office.com
then go here
https://myaccount.microsoft.com/
then click security info. enter your password again, and there is a authentication email there as well.
hope this is what you're looking for.

Verified Application presented as "Unverified" to End Users

My company has an application that was verified through the Google OAuth Review/Verification process and is listed as "Published" in the Cloud Console; however, end users are starting to receive the "This app isn't verified" warning when needing to re-authorize.
We tried emailing them Google Cloud Platform/API Trust & Safety Team directly but immediately received the reply "Please note that your email was not received because api-dev-oauth-verification#google.com is not a monitored alias."
Since the application is verified in the console, the "Submit for verification" button is greyed out so we can't contact them that way and we don't want to modify the scopes to require verification again as we want to preserve everything so Google can investigate it in its current state.
That's why I'm reaching out here:
Has anyone experienced this before and have any ideas what could be the cause?
Anyone know a way to reach the Google Cloud Platform/API Trust & Safety Team without the use of "Submit for verification" button?
You are receiving the "api-dev-oauth-verification#google.com is not a monitored alias." message because the address you are trying to send the email to, is a bit wrong.
The correct address to contact the trust and safety team is:
**
api-oauth-dev-verification#google.com
**
Remember that only the project owner should contact the T&S team.

How can I set default reply address in Gmail by API?

I'm trying to change "When replying to a message" (card "Accounts", section "Send mail as") to "Reply from the same address to which the message was sent" in Gmail Settings" by Gmail API (using service account that was delegated domain-wide authority) and I cannot find it in the docs (https://developers.google.com/gmail/api/v1/reference/users/settings/sendAs).
To explain why I want to do this: I'm adding certain role based Google Groups my users are member of to their send email as preferences (by the service account with domain wide authority). For example, users responsible for dealing with legal# address are member of Google Group called legal and they have legal mails in their mailbox. When responsible users change, I just change the membership and new users receive the mails. The problem is that just the first email comes to legal# and reply goes from john.smith# for example. Because of that, I decided to have them reply from legal#, so those who requests something from Legal Departament knows they are communicating with whole Legal Departament and not Mr Smith only. But when Gmail doesn't automatically choose correct address when replying to the legal mail, it doesn't do what I'm trying to do.
It doesn't matter for me if I change it in admin console or by script running on all users. I wasn't able to use any of those ways.
Thank you for your help,
Martin
I'm pretty certain that Gmail setting ("always reply from xx#yy, or reply from the same address to which the message is sent") is not available in the Gmail API. It really is a client-side issue, since the email client chooses the "From:" line when composing each message or reply.
For your issue, you should be able to use Google groups as a collaborative inbox, see: https://support.google.com/a/answer/167430?hl=en
This user note explains your use case, see: https://productforums.google.com/forum/#!topic/apps/siprUn9Nm9g

Salesforce, send email to multiple email address through a package

I am new to Salesforce development and so would greatly appreciate any help for the following:
We have a Payment center app (somewhat like Zuora) that does invoicing and billing. Now this packaged app has a scheduler that sends reminders for declined credit cards etc daily at 5:00am.
What we are trying to achieve is that we have 3 email address fields (one standard and two custom) on Account. We want the email to be sent to all three addresses.
Since it is being run by sheduler that sends a number of reminders so am not sure how to do it.
One way I was thinking was to have a workflow rule on task object so that whenever an email with "Failed Payment" is created then it should send an email alert to the other two other email addresses. What I am not sure about is how to include those email addresses in email alert?
Thanks!

Resources