Is gmail-datereceived (in the command pack) broken?

Hi! I can't seem to get this function to work at all. Here's a snippet to try in gmail with the command pack activated obviously. It never renders a result. It just returns

Unknown name "gmail"

{gmail-datereceived: format=X}

Hi @Joe_P,

The command itself is enough to paste received date. You don't need {=gmail-datereceived} part as this is accessing variable that does not exist.

{gmail-datereceived: format=MMM Do, YYY; default=July 1st, 2024}

This should be enough. However there seem to be an issue with this command as it does not work properly right now. We are working on fixing this one and I'll let you know once the issue is fixed.

1 Like

Thanks! Looking forward to using it when it's up and running again.

Can you think some other clever way using the "site:" function to pull the date received from a gmail message while I'm waiting for the "gmail-datereceived:" function to be resurrected?

The issue with the {gmail-datereceived} command itself should now be fixed.

Please give it a spin and let us know if you have any issues.

1 Like

It works! Thanks guys. I just want to take this moment to let you know that Text Blaze changed my life, psychologically, for the better. I have such a healthier relationship with my work ever since I started really implementing your product into all of my customer service centered workflows. I have more time with my family. I know that sounds hyperbolic but it's my truth.

If anyone stumbles across this and needs to make a Gmail snippet that auto inserts something if your reply is over a certain amount of time old (I choose 8 hours in the example) see the snippet below:

{received_time_diff={time: X}-{gmail-datereceived: format=X}}{if: received_time_diff >28800}This response is late{else}Not late{endif}

Don't forget to activate the Gmail command pack to make it work. Keep in mind this only works in Gmail.