dear madam,
I am sorry in reading your message and I understand that your organization is highly practising unethical practices.
Please note the following:-
It seems, your HR Department is not aware of maternity benefit act-1961 and related provisions.
Since you are a managerial staff you are not covered by ESI Act, but your company might have covered by medical insurance nor not.
please let us know;
whether you have submitted a letter - a physical letter- informing your employer regarding your pregnancy, with the Certifiicate from the Gynecologist or the Treating doctor.
Have they responded to your message. If your HR person/s is possessing Soft -skills, he/she must have congratulated you. in his reply to you.
If he replied and in that as a part of message, the message of your cessation of your services must have been mentioned.
If any such proposal of eliminating you from the rolls of your company, they should have intimated your in writing (not oral messages)
If the message was given to you on submission of your letter informing your pregnancy, it is not acceptable.
If they inform you, after the submission of your letter informing the pregnancy, whatever may be the reason conveyed to you, regarding the financial status
of your company, to certain extent, it may be acceptable.
If it because of your performance or otherwise, it is not to be accepted. It is unethical on the part of your company to inform you the termination of your services, after the submission of your letter.
You have the valid points with you, had you acted on the above manner.
There are certain organization are surviving by doing such illegal practices and the government/law are also helping them.
Best wishes to you.