I am attaching a google doc url i get in the webViewLink of the API response of the .files.create() method of google api lib for python
When i use the Gmail UI and attach a doc link it get's recognised as an attachment (even with restricted sharing permission) but when i attach the google doc link to an href html tag it isn't being recognised as an attachment
Is it a Gmail specific thing ? If not how do i get my link recognised as an attachment through html content
Here's my html for reference
<!DOCTYPE html>
<html lang="en">
<head>
<title>None</title>
</head>
<body>
<p>
<p>Hi All,</p>
<p>Please find the attached drive reports:</p>
<ul>
<li>Investment Scheme/Product wise details</li>
<li>Disbursement Scheme/Product wise details</li>
</ul>
<p>Best regards,</p>
<p>BI Team</p>
</p>
<!-- Footer Section -->
<footer>
<div class="drive-link">
<p>Here's the
<a href=";amp;ouid=12345678&rtpof=true&sd=true"
target="_blank">Drive link</a>
for the same.
</p>
</div>
</footer>
</body>
</html>
I tried pasting the link outside a div using a plain
or <h*> tag but it still didn't work