E commerce giant Amazon has written to External Affairs Minister Sushma Swaraj to express regret at hurting Indian sensibilities, a day after Swaraj threatened to deny visas to its officials if it didn’t take doormats depicting the Indian flag off its site.

Amazon has pulled the offending item from its site. Here’s the letter the company sent Swaraj. External Affairs Minister Sushma Swaraj Jan. 11 said Amazon must tender an unconditional apology and withdraw all products insulting the Tricolor, otherwise no Amazon official will get an Indian visa.

Doormats featuring the Indian flag were made available on the Amazon Canada site by two vendors Mayers Flag Doormats and XLYL.

“Amazon must tender unconditional apology. They must withdraw all products insulting our national flag immediately,” the External Affairs Minister said in a tweet.

“If this is not done forthwith, we will not grant Indian visa to any Amazon official. We will also rescind the visas issued earlier,” she said.

An image of the products was tweeted to the minister, after which she asked the Indian High Commission in Canada to raise the issue with Amazon. “Indian High Commission in Canada: This is unacceptable. Please take this up with Amazon at the highest level,” the minister tweeted.

According to a Washington Post report Jan. 11, a spokesman for Amazon based at its Seattle, Wash., headquarters told the paper the doormat was no longer for sale on its website.